From 5a06602f090692f934db562ec307fe4e114a40d0 Mon Sep 17 00:00:00 2001 From: Maksym Tsymbarov Date: Fri, 9 Oct 2026 14:36:05 +0200 Subject: [PATCH] Fixed Save button not enabled when toggling 'Show connectivity dialog' in White labeling (#16275) --- .../modules/home/pages/admin/white-labeling.component.html | 2 +- .../modules/home/pages/admin/white-labeling.component.ts | 6 ++++++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html index b2caba3ee9..0dd4db754d 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html +++ b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.html @@ -266,7 +266,7 @@ + (change)="onShowConnectivityDialogChange($event.checked)">
{{ 'white-labeling.show-connectivity-dialog' | translate }}
{{ 'white-labeling.show-connectivity-dialog-desc' | translate }}
diff --git a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts index dc29bce989..9ba95ebe10 100644 --- a/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts +++ b/ui-ngx/src/app/modules/home/pages/admin/white-labeling.component.ts @@ -386,6 +386,12 @@ export class WhiteLabelingComponent extends PageComponent implements OnInit, Has }); } + onShowConnectivityDialogChange(checked: boolean): void { + const control = this.wlSettings.get('hideConnectivityDialog'); + control.setValue(!checked); + control.markAsDirty(); + } + private updatePaletteColors(): void { this.selectedPrimaryColor = this.colorFromPalette(this.wlSettings.get('paletteSettings').get('primaryPalette').value); this.selectedAccentColor = this.colorFromPalette(this.wlSettings.get('paletteSettings').get('accentPalette').value, false);