From 7399aefc5cf66c28cdc4190936ffed4c9a98b52b Mon Sep 17 00:00:00 2001 From: Flaminel Date: Mon, 23 Mar 2026 14:41:51 +0200 Subject: [PATCH] improved cf score on dashboard --- .../src/app/features/dashboard/dashboard.component.html | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/code/frontend/src/app/features/dashboard/dashboard.component.html b/code/frontend/src/app/features/dashboard/dashboard.component.html index ed542ed8..9b254446 100644 --- a/code/frontend/src/app/features/dashboard/dashboard.component.html +++ b/code/frontend/src/app/features/dashboard/dashboard.component.html @@ -285,7 +285,7 @@ Upgrades (7d) - @if (stats.perInstanceStats.length > 1) { + @if (stats.perInstanceStats.length > 0) {
@for (inst of stats.perInstanceStats; track inst.instanceId) {
@@ -299,9 +299,7 @@ {{ inst.totalTracked }} tracked {{ inst.belowCutoff }} below {{ inst.atOrAboveCutoff }} met - @if (inst.recentUpgrades > 0) { - {{ inst.recentUpgrades }} upgrades - } + {{ inst.recentUpgrades }} upgrades
}