mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
chore: cleanup code
This commit is contained in:
+1
-1
@@ -56,7 +56,7 @@ export class ConfigurationWizardPagesBootstrapService extends Bootstrap {
|
||||
),
|
||||
},
|
||||
order: 4,
|
||||
onActivate: this.serverConfigurationService.activate.bind(this.serverConfigurationService),
|
||||
onActivate: this.serverConfigurationService.loadConfig.bind(this.serverConfigurationService),
|
||||
getContentComponent: () => ServerConfigurationPage,
|
||||
getDrawerComponent: () => ServerConfigurationDrawerItem,
|
||||
});
|
||||
|
||||
-4
@@ -117,10 +117,6 @@ export class ServerConfigurationService {
|
||||
return this.done;
|
||||
}
|
||||
|
||||
async activate(): Promise<void> {
|
||||
await this.loadConfig();
|
||||
}
|
||||
|
||||
async saveConfiguration(finish: boolean): Promise<boolean> {
|
||||
const contexts = await this.saveTask.execute(this.getSaveData(finish));
|
||||
|
||||
|
||||
Reference in New Issue
Block a user