PanelEdit: update configRev on close (#33240)

This commit is contained in:
Ryan McKinley 2021-04-22 07:23:51 -07:00 committed by GitHub
parent 3056f86f76
commit e7fd30be17
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -135,6 +135,7 @@ export function panelEditorCleanUp(): ThunkResult<void> {
modifiedSaveModel.id = sourcePanel.id;
sourcePanel.restoreModel(modifiedSaveModel);
sourcePanel.configRev++; // force check the configs
// Loaded plugin is not included in the persisted properties
// So is not handled by restoreModel