From 7f3a3b9e554bdff7dee4cc2fe98864c166ce5049 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Torkel=20=C3=96degaard?= Date: Mon, 27 Nov 2017 14:49:31 +0100 Subject: [PATCH] search fix and update buttons on dashboard list page --- public/app/core/services/search_srv.ts | 2 +- .../features/dashboard/partials/dashboardList.html | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/public/app/core/services/search_srv.ts b/public/app/core/services/search_srv.ts index 2151e2063a9..ae8c7d61cc7 100644 --- a/public/app/core/services/search_srv.ts +++ b/public/app/core/services/search_srv.ts @@ -74,7 +74,7 @@ export class SearchSrv { score: -2, expanded: this.starredIsOpen, toggle: this.toggleStarred.bind(this), - items: this.transformToViewModel(result), + items: result.map(this.transformToViewModel), }; } }); diff --git a/public/app/features/dashboard/partials/dashboardList.html b/public/app/features/dashboard/partials/dashboardList.html index c9822efe561..449544aedc4 100644 --- a/public/app/features/dashboard/partials/dashboardList.html +++ b/public/app/features/dashboard/partials/dashboardList.html @@ -4,13 +4,13 @@