Compare commits

...
2 changed files with 10 additions and 3 deletions
@@ -7,7 +7,7 @@ interface Props {
}
export function HeaderCellContentRenderer({ colIdx }: Props) {
const cellHeaderContext = use(DataGridCellHeaderContext);
const headerElement = useGridReactiveValue(cellHeaderContext?.headerElement, [colIdx]);
const getHeaderText = useGridReactiveValue(headerElement ? undefined : cellHeaderContext?.headerText, [colIdx]);
const headerElement = useGridReactiveValue(cellHeaderContext?.headerElement, colIdx);
const getHeaderText = useGridReactiveValue(headerElement ? undefined : cellHeaderContext?.headerText, colIdx);
return headerElement ?? getHeaderText ?? '';
}
@@ -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;