diff --git a/public/app/features/library-panels/utils.ts b/public/app/features/library-panels/utils.ts index 5202c8f72a0..a76d2cc6d62 100644 --- a/public/app/features/library-panels/utils.ts +++ b/public/app/features/library-panels/utils.ts @@ -40,7 +40,7 @@ function toPanelSaveModel(panel: PanelModel): any { function updatePanelModelWithUpdate(panel: PanelModel, updated: LibraryPanelDTO): void { panel.restoreModel({ ...updated.model, - hasChanged: false, // reset dirty flag, since changes have been saved + configRev: 0, // reset config rev, since changes have been saved libraryPanel: toPanelModelLibraryPanel(updated), }); panel.refresh();