mirror of
https://github.com/dbeaver/cloudbeaver.git
synced 2026-09-24 16:04:36 +08:00
CB-6369 fixes onFinish during easy config for Server Configuration Form (#3328)
This commit is contained in:
+8
-1
@@ -95,7 +95,14 @@ export class ConfigurationWizardPagesBootstrapService extends Bootstrap {
|
||||
onLoad: () => {
|
||||
this.serverConfigurationFormStateManager.create();
|
||||
},
|
||||
onDeActivate: this.serverConfigurationFormStateManager.destroy.bind(this.serverConfigurationFormStateManager),
|
||||
onDeActivate: (configurationWizard, administration, nextAdministrationItem) => {
|
||||
// so onFinish can be called with all required data from the form during easy config mode
|
||||
if (configurationWizard) {
|
||||
return;
|
||||
}
|
||||
|
||||
this.serverConfigurationFormStateManager.destroy();
|
||||
},
|
||||
canDeActivate: async configurationWizard => {
|
||||
const state = this.serverConfigurationFormStateManager.formState;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user