From 52ea3712bc4e42da1e01114465fac90bbb7a1c11 Mon Sep 17 00:00:00 2001 From: mpetrov Date: Mon, 17 Mar 2025 11:15:48 +0200 Subject: [PATCH] Hided alarms count on no alarms --- .../pages/device-profile/device-profile-tabs.component.html | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/ui-ngx/src/app/modules/home/pages/device-profile/device-profile-tabs.component.html b/ui-ngx/src/app/modules/home/pages/device-profile/device-profile-tabs.component.html index 46aa08ff9f..b9003c4c1c 100644 --- a/ui-ngx/src/app/modules/home/pages/device-profile/device-profile-tabs.component.html +++ b/ui-ngx/src/app/modules/home/pages/device-profile/device-profile-tabs.component.html @@ -45,9 +45,9 @@ + label="{{ this.detailsForm.get('profileData.alarms').value?.length + ? ('device-profile.alarm-rules-with-count' | translate: { count: this.detailsForm.get('profileData.alarms').value.length }) + : 'device-profile.alarm-rules' | translate }}">