mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-10-16 14:50:15 +08:00
dbeaver/pro#9946 resets admin settings in leave layout scenario (#4528)
Co-authored-by: Daria Marutkina <125263541+dariamarutkina@users.noreply.github.com>
This commit is contained in:
co-authored by
Daria Marutkina
parent
9474ec9718
commit
1c789cf49b
+7
@@ -51,6 +51,13 @@ export class SettingsAdministrationPluginBootstrap extends Bootstrap {
|
||||
|
||||
return true;
|
||||
},
|
||||
onDeActivate: () => {
|
||||
this.settingsAdministrationService.tabsContainer.getDisplayed().forEach(tab => {
|
||||
if (tab.options?.source.isEdited()) {
|
||||
tab.options?.source.clear();
|
||||
}
|
||||
});
|
||||
},
|
||||
getContentComponent: () => SettingsAdministration,
|
||||
getDrawerComponent: () => SettingsDrawerItem,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user