From 9e1cb8c12a878a69611a67ceb338f707c50d8e50 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=A4ggmark?= Date: Tue, 8 Feb 2022 06:55:00 +0100 Subject: [PATCH] LibraryPanels: Removes save errors for panels changed to library panels (#45033) --- public/app/features/panel/state/actions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/app/features/panel/state/actions.ts b/public/app/features/panel/state/actions.ts index 12b58f90903..84e12c00199 100644 --- a/public/app/features/panel/state/actions.ts +++ b/public/app/features/panel/state/actions.ts @@ -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