mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed small issue where dashboard search did not work after loading dashboard and it does not exist, now shows a valid dashboard
This commit is contained in:
parent
953eec7326
commit
3d202c2ef9
@ -34,9 +34,9 @@ function (angular) {
|
|||||||
.then(function(dashboard) {
|
.then(function(dashboard) {
|
||||||
$scope.emitAppEvent('setup-dashboard', dashboard);
|
$scope.emitAppEvent('setup-dashboard', dashboard);
|
||||||
}).then(null, function(error) {
|
}).then(null, function(error) {
|
||||||
|
$scope.emitAppEvent('setup-dashboard', { title: 'Grafana'});
|
||||||
alertSrv.set('Error', error, 'error');
|
alertSrv.set('Error', error, 'error');
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user