Commit d650dc94 by Patrick O'Carroll

fixed so default is all and general only show dashboards

parent 937b26f3
......@@ -23,10 +23,11 @@
</div>
<div class="gf-form">
<folder-picker root-name="All"
initial-folder-id="ctrl.panel.folderId"
<folder-picker initial-folder-id="ctrl.panel.folderId"
on-change="ctrl.onFolderChange($folder)"
label-class="width-6">
label-class="width-6"
initial-title="'All'"
enable-reset="true">
</folder-picker>
</div>
......
......@@ -17,7 +17,7 @@ class DashListCtrl extends PanelCtrl {
search: false,
starred: true,
headings: true,
folderId: 0,
folderId: null,
};
/** @ngInject */
......@@ -86,6 +86,7 @@ class DashListCtrl extends PanelCtrl {
query: this.panel.query,
tag: this.panel.tags,
folderIds: this.panel.folderId,
type: 'dash-db',
};
return this.backendSrv.search(params).then(result => {
......
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