mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
dashboards: fix updating folder so that correct url is returned
This commit is contained in:
@@ -257,6 +257,17 @@ export class BackendSrv {
|
||||
});
|
||||
}
|
||||
|
||||
updateDashboardFolder(dash, options) {
|
||||
options = options || {};
|
||||
|
||||
return this.post('/api/dashboards/db/', {
|
||||
dashboard: dash,
|
||||
isFolder: true,
|
||||
overwrite: options.overwrite === true,
|
||||
message: options.message || '',
|
||||
});
|
||||
}
|
||||
|
||||
deleteDashboard(uid) {
|
||||
let deferred = this.$q.defer();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user