mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
LibraryPanels: Removes save errors for panels changed to library panels (#45033)
This commit is contained in:
@@ -93,7 +93,7 @@ export function changeToLibraryPanel(panel: PanelModel, libraryPanel: LibraryEle
|
||||
...libraryPanel.model,
|
||||
gridPos: panel.gridPos,
|
||||
id: panel.id,
|
||||
libraryPanel: toPanelModelLibraryPanel(libraryPanel.model),
|
||||
libraryPanel: toPanelModelLibraryPanel(libraryPanel),
|
||||
});
|
||||
|
||||
// a new library panel usually means new queries, clear any current result
|
||||
|
||||
Reference in New Issue
Block a user