mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06: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