Should abort DashboardPage mount immediately after redirect

pull/10616/head
Luke Morris 2017-12-14 17:38:22 -08:00
parent 59427db2e0
commit ebbb98426c
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ class DashboardPage extends Component {
)
if (!dashboard) {
router.push(`/sources/${source.id}/dashboards`)
return router.push(`/sources/${source.id}/dashboards`)
}
// Refresh and persists influxql generated template variable values.