From db1efc0c3fb8dfa3fed0334f5cecc2d7467854b7 Mon Sep 17 00:00:00 2001 From: Jed Fox Date: Thu, 6 Apr 2023 10:56:15 -0400 Subject: [PATCH] Gray out label for up/down/maintenance labels when they are zero --- src/pages/DashboardHome.vue | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) diff --git a/src/pages/DashboardHome.vue b/src/pages/DashboardHome.vue index 2745d91b..19f330c1 100644 --- a/src/pages/DashboardHome.vue +++ b/src/pages/DashboardHome.vue @@ -9,15 +9,40 @@

{{ $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") }}