search fix and update buttons on dashboard list page

This commit is contained in:
Torkel Ödegaard 2017-11-27 14:49:31 +01:00
parent c38a64e4cc
commit 7f3a3b9e55
2 changed files with 7 additions and 7 deletions

View File

@ -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),
};
}
});

View File

@ -4,13 +4,13 @@
<div class="page-header">
<h1>Dashboards</h1>
<a class="btn btn-success" href="/dashboard/new">
<i class="fa fa-plus"></i>
Create Dashboard
<a class="btn btn-inverse" href="/dashboard/new">
<i class="gicon gicon-dashboard-new"></i>
Dashboard
</a>
<a class="btn btn-success" href="/dashboard/new/?editview=new-folder">
<i class="fa fa-plus"></i>
Create Folder
<a class="btn btn-inverse" href="/dashboard/new/?editview=new-folder">
<i class="gicon gicon-folder-new"></i>
Folder
</a>
</div>
<div class="gf-form-group">