chore: cleanup code

This commit is contained in:
Wroud
2021-03-31 14:58:59 +03:00
parent 4dc9c3afea
commit db03e7c4da
2 changed files with 1 additions and 5 deletions
@@ -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,
});
@@ -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));