mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashfolders: fix bug in save as modal
This commit is contained in:
parent
2d192f6cc8
commit
f443cb8229
@ -86,7 +86,7 @@ export class DashboardSrv {
|
|||||||
|
|
||||||
save(clone, options) {
|
save(clone, options) {
|
||||||
options = options || {};
|
options = options || {};
|
||||||
options.folderId = this.dash.meta.folderId;
|
options.folderId = this.dash.meta.folderId || clone.folderId;
|
||||||
|
|
||||||
return this.backendSrv
|
return this.backendSrv
|
||||||
.saveDashboard(clone, options)
|
.saveDashboard(clone, options)
|
||||||
|
Loading…
Reference in New Issue
Block a user