mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
PanelEdit: only update when config changes (#33133)
This commit is contained in:
@@ -45,7 +45,7 @@ export const PanelLibraryOptionsGroup: FC<Props> = ({ panel, searchQuery }) => {
|
||||
libraryPanel: toPanelModelLibraryPanel(changeToPanel),
|
||||
});
|
||||
|
||||
panel.hasChanged = false;
|
||||
panel.configRev = 0;
|
||||
panel.refresh();
|
||||
panel.events.publish(new PanelQueriesChangedEvent());
|
||||
panel.events.publish(new PanelOptionsChangedEvent());
|
||||
|
||||
Reference in New Issue
Block a user