Commit 3d202c2e by Torkel Ödegaard

Fixed small issue where dashboard search did not work after loading dashboard…

Fixed small issue where dashboard search did not work after loading dashboard and it does not exist, now shows a valid dashboard
parent 953eec73
......@@ -34,9 +34,9 @@ function (angular) {
.then(function(dashboard) {
$scope.emitAppEvent('setup-dashboard', dashboard);
}).then(null, function(error) {
$scope.emitAppEvent('setup-dashboard', { title: 'Grafana'});
alertSrv.set('Error', error, 'error');
});
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment