From 668e8bafed26364e4ce6904bd6409f0f59faa92b Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Sun, 19 May 2024 14:01:14 -0700 Subject: [PATCH] Gray out label for up/down/maintenance labels when they are zero (#3037) Co-authored-by: Frank Elsinga --- src/pages/DashboardHome.vue | 21 ++++++++++++++++++--- 1 file changed, 18 insertions(+), 3 deletions(-) diff --git a/src/pages/DashboardHome.vue b/src/pages/DashboardHome.vue index 3baf35a62..78bee91fc 100644 --- a/src/pages/DashboardHome.vue +++ b/src/pages/DashboardHome.vue @@ -9,15 +9,30 @@

{{ $t("Up") }}

- {{ $root.stats.up }} + + {{ $root.stats.up }} +

{{ $t("Down") }}

- {{ $root.stats.down }} + + {{ $root.stats.down }} +

{{ $t("Maintenance") }}

- {{ $root.stats.maintenance }} + + {{ $root.stats.maintenance }} +

{{ $t("Unknown") }}