dashfolders: support creating new folder in dashboard settings. #10197

This commit is contained in:
Marcus Efraimsson 2017-12-19 13:36:02 +01:00
parent 60d7e4308c
commit 7f9c0df464

View File

@ -47,6 +47,8 @@
<folder-picker initial-title="ctrl.dashboard.meta.folderTitle" <folder-picker initial-title="ctrl.dashboard.meta.folderTitle"
initial-folder-id="ctrl.dashboard.meta.folderId" initial-folder-id="ctrl.dashboard.meta.folderId"
on-change="ctrl.onFolderChange($folder)" on-change="ctrl.onFolderChange($folder)"
enable-create-new="true"
is-valid-selection="true"
label-class="width-7"> label-class="width-7">
</folder-picker> </folder-picker>
<gf-form-switch class="gf-form" label="Editable" tooltip="Uncheck, then save and reload to disable all dashboard editing" checked="ctrl.dashboard.editable" label-class="width-7"> <gf-form-switch class="gf-form" label="Editable" tooltip="Uncheck, then save and reload to disable all dashboard editing" checked="ctrl.dashboard.editable" label-class="width-7">