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);