From 1aed445156a77a6d8a475e4ecbdf650f9db35551 Mon Sep 17 00:00:00 2001 From: Ralph Hopman Date: Fri, 15 Nov 2024 11:36:04 +0100 Subject: [PATCH] fix: Description tooltip in Global Configurations Due to a bug in getTooltip, the tooltips were never shown. This change shows the tooltip when there is a description for the configuration option. --- .../global-configurations-tab.component.html | 2 +- .../global-configurations-tab.component.ts | 7 ------- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.html b/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.html index 4018307aeb..2c5874f45a 100644 --- a/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.html +++ b/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.html @@ -14,7 +14,7 @@ {{'labels.inputs.name' | translate}} {{ configuration.name }}   - + diff --git a/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts b/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts index 4c5165b91a..8efb20d058 100644 --- a/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts +++ b/src/app/system/configurations/global-configurations-tab/global-configurations-tab.component.ts @@ -149,11 +149,4 @@ export class GlobalConfigurationsTabComponent implements OnInit, AfterViewInit { this.router.navigate(['/system']); } - getTooltip(description: string): string { - if (description === undefined) { - return description; - } - return 'labels.text.No Description'; - } - }