From f443cb822974498cd7ddc41c342fe84aba4aa999 Mon Sep 17 00:00:00 2001 From: Daniel Lee Date: Thu, 18 Jan 2018 14:44:20 +0100 Subject: [PATCH] dashfolders: fix bug in save as modal --- public/app/features/dashboard/dashboard_srv.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard/dashboard_srv.ts b/public/app/features/dashboard/dashboard_srv.ts index 298dfc2966c..b546c3f2bf4 100644 --- a/public/app/features/dashboard/dashboard_srv.ts +++ b/public/app/features/dashboard/dashboard_srv.ts @@ -86,7 +86,7 @@ export class DashboardSrv { save(clone, options) { options = options || {}; - options.folderId = this.dash.meta.folderId; + options.folderId = this.dash.meta.folderId || clone.folderId; return this.backendSrv .saveDashboard(clone, options)