Commit b45bd070 by Torkel Ödegaard

ux(dashboard): when saving dashbord with default new dashboard title show Save As Dialog, #6099

parent 556547b3
......@@ -28,6 +28,10 @@ export class DashboardSrv {
return Promise.resolve();
}
if (this.dash.title === 'New dashboard') {
return this.saveDashboardAs();
}
var clone = this.dash.getSaveModelClone();
return this.backendSrv.saveDashboard(clone, options).then(data => {
......
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