mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
LibraryPanels: Removes save errors for panels changed to library panels (#45033)
This commit is contained in:
parent
6baf38e84b
commit
9e1cb8c12a
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user