mirror of
https://github.com/grafana/grafana.git
synced 2026-09-05 04:40:13 -05:00
Dashboard: Unsaved changes warning fixes (#54706)
* Quick test of alternative method * change order of if condition again for better readability * Think I have something that is working * Update
This commit is contained in:
@@ -45,6 +45,7 @@ function updatePanelModelWithUpdate(panel: PanelModel, updated: LibraryElementDT
|
||||
libraryPanel: toPanelModelLibraryPanel(updated),
|
||||
title: panel.title,
|
||||
});
|
||||
panel.hasSavedPanelEditChange = true;
|
||||
panel.refresh();
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user