Enhancement: add duration format to customapi widget (#4549)

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
Peder Toftegaard Olsenandshamoon authored and GitHub committed 2025-01-02 19:11:33 -08:00
1 parent 3020a2d1fd
commit 6f429a6a4b
2 files changed
+6 -1

No files matched your search

+3
View File
@@ -78,6 +78,9 @@ function formatValue(t, mapping, rawValue) {
case "percent":
value = t("common.percent", { value });
break;
case "duration":
value = t("common.duration", { value });
break;
case "bytes":
value = t("common.bytes", { value });
break;