Skip to content

Commit

Permalink
CB-5719 always treat form as changed in easy config (#2946)
Browse files Browse the repository at this point in the history
Co-authored-by: Daria Marutkina <[email protected]>
  • Loading branch information
devnaumov and dariamarutkina authored Sep 30, 2024
1 parent 6604b08 commit c3c15bf
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,14 @@ export class ServerConfigurationFormPart extends FormPart<IServerConfigurationFo
}
}

override get isChanged(): boolean {
if (this.loaded && this.administrationScreenService.isConfigurationMode) {
return true;
}

return super.isChanged;
}

protected override async saveChanges() {
if (!isObjectsEqual(this.state.navigatorConfig, this.initialState.navigatorConfig)) {
await this.defaultNavigatorSettingsResource.save(this.state.navigatorConfig);
Expand Down

0 comments on commit c3c15bf

Please sign in to comment.