From 3d202c2ef94f29782073f49cfb0a0fa460b052a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Wed, 3 Sep 2014 09:12:59 +0200 Subject: [PATCH] Fixed small issue where dashboard search did not work after loading dashboard and it does not exist, now shows a valid dashboard --- src/app/routes/dashboard-from-db.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/app/routes/dashboard-from-db.js b/src/app/routes/dashboard-from-db.js index d2c274fc57a..a5a37ece12d 100644 --- a/src/app/routes/dashboard-from-db.js +++ b/src/app/routes/dashboard-from-db.js @@ -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'); }); - }); });