From ee1cde8a0400244c582f8246889f893f60c937c3 Mon Sep 17 00:00:00 2001 From: Svilen Markov <7613769+svilenmarkov@users.noreply.github.com> Date: Fri, 17 Jan 2025 19:09:49 +0000 Subject: [PATCH] Update monitor widget --- internal/glance/templates/monitor.html | 4 ---- internal/glance/widget-monitor.go | 19 +++++++++++++------ 2 files changed, 13 insertions(+), 10 deletions(-) diff --git a/internal/glance/templates/monitor.html b/internal/glance/templates/monitor.html index 291d638..7e95b99 100644 --- a/internal/glance/templates/monitor.html +++ b/internal/glance/templates/monitor.html @@ -25,11 +25,7 @@ {{ end }}
- {{ if and .Status.Error ( ne "" .ErrorURL)}} - {{ .Title }} - {{ else }} {{ .Title }} - {{ end }}