Skip to content

Commit

Permalink
Do not destroy dashboardContainer
Browse files Browse the repository at this point in the history
  • Loading branch information
Maja Grubic committed Apr 18, 2020
1 parent 5b00872 commit 1b5ac60
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -517,6 +517,7 @@ export class DashboardAppController {
// query is the same, and in that case, we have to explicitly ask for
// a reload, since no state changes will cause it.
lastReloadRequestTime = new Date().getTime();
refreshDashboardContainer();
} else {
$scope.model.query = query;
dashboardStateManager.applyFilters($scope.model.query, $scope.model.filters);
Expand Down Expand Up @@ -978,9 +979,6 @@ export class DashboardAppController {
if (outputSubscription) {
outputSubscription.unsubscribe();
}
if (dashboardContainer) {
dashboardContainer.destroy();
}
});
}
}

0 comments on commit 1b5ac60

Please sign in to comment.