Feature: Add ArgoCD widget (#4305)
Docker / Linting Checks (push) Has been cancelled
Docker / Docker Build & Push (push) Has been cancelled

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Felix Cornelius
2024-11-19 13:59:52 -08:00
committed by GitHub
co-authored by shamoon
parent adde687331
commit 4a3a4c846e
10 changed files with 116 additions and 0 deletions
@@ -5,6 +5,7 @@ import Block from "components/services/widget/block";
import useWidgetAPI from "utils/proxy/use-widget-api";
function formatValue(t, metric, rawValue) {
if (!metric?.format) return rawValue;
if (!rawValue) return "-";
let value = rawValue;