From 927d0dddfe5a0b25ab5f8c35cd0aa3482d5d522a Mon Sep 17 00:00:00 2001 From: Victor Marin <36818606+mdvictor@users.noreply.github.com> Date: Fri, 15 Nov 2024 13:40:51 +0200 Subject: [PATCH] DashboardScene: Update repeated panels in dashboard after saving in panel edit and returning to it (#96536) * Update repeated panels after saving dashboard when returning to it from panel edit * cleanup --- public/app/features/dashboard-scene/panel-edit/PanelEditor.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/dashboard-scene/panel-edit/PanelEditor.tsx b/public/app/features/dashboard-scene/panel-edit/PanelEditor.tsx index aefd435b48e..b0073be67ed 100644 --- a/public/app/features/dashboard-scene/panel-edit/PanelEditor.tsx +++ b/public/app/features/dashboard-scene/panel-edit/PanelEditor.tsx @@ -266,7 +266,7 @@ export class PanelEditor extends SceneObjectBase { this.setState({ isDirty: false }); // Remember that we have done changes - this._changesHaveBeenMade = false; + this._changesHaveBeenMade = true; } public onSaveLibraryPanel = () => {