Commit 7f3a3b9e by Torkel Ödegaard

search fix and update buttons on dashboard list page

parent c38a64e4
...@@ -74,7 +74,7 @@ export class SearchSrv { ...@@ -74,7 +74,7 @@ export class SearchSrv {
score: -2, score: -2,
expanded: this.starredIsOpen, expanded: this.starredIsOpen,
toggle: this.toggleStarred.bind(this), toggle: this.toggleStarred.bind(this),
items: this.transformToViewModel(result), items: result.map(this.transformToViewModel),
}; };
} }
}); });
......
...@@ -4,13 +4,13 @@ ...@@ -4,13 +4,13 @@
<div class="page-header"> <div class="page-header">
<h1>Dashboards</h1> <h1>Dashboards</h1>
<a class="btn btn-success" href="/dashboard/new"> <a class="btn btn-inverse" href="/dashboard/new">
<i class="fa fa-plus"></i> <i class="gicon gicon-dashboard-new"></i>
Create Dashboard Dashboard
</a> </a>
<a class="btn btn-success" href="/dashboard/new/?editview=new-folder"> <a class="btn btn-inverse" href="/dashboard/new/?editview=new-folder">
<i class="fa fa-plus"></i> <i class="gicon gicon-folder-new"></i>
Create Folder Folder
</a> </a>
</div> </div>
<div class="gf-form-group"> <div class="gf-form-group">
......
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