We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
format
1 parent deda42a commit 04ff454Copy full SHA for 04ff454
docs/widgets/services/index.md
@@ -8,7 +8,7 @@ search:
8
You can also find a list of all available service widgets in the sidebar navigation.
9
10
- [Adguard Home](adguard-home.md)
11
-- [ArgoCD](atsumeru.md)
+- [ArgoCD](argocd.md)
12
- [Atsumeru](atsumeru.md)
13
- [Audiobookshelf](audiobookshelf.md)
14
- [Authentik](authentik.md)
src/widgets/prometheusmetric/component.jsx
@@ -5,6 +5,7 @@ import Block from "components/services/widget/block";
5
import useWidgetAPI from "utils/proxy/use-widget-api";
6
7
function formatValue(t, metric, rawValue) {
+ if (!metric?.format) return rawValue;
if (!rawValue) return "-";
let value = rawValue;
0 commit comments