Enhancement: use duration for audiobookshelf tottal, refactor uptime (#4229)

This commit is contained in:
shamoon authored and GitHub committed 2024-10-31 22:09:23 -07:00
1 parent 3736c1fcab
commit e6cf86ed4a
11 files changed
+20 -23

No files matched your search

+1 -1
View File
@@ -25,7 +25,7 @@ export default function Uptime({ refresh = 1500 }) {
return (
<Resource
icon={FaRegClock}
value={t("common.uptime", { value: data.uptime })}
value={t("common.duration", { value: data.uptime })}
label={t("resources.uptime")}
percentage={percent}
/>