mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-09 14:58:47 +00:00
Enhancement: use duration for audiobookshelf tottal, refactor uptime (#4229)
This commit is contained in:
parent
3736c1fcab
commit
e6cf86ed4a
11 changed files with 20 additions and 23 deletions
|
@ -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}
|
||||
/>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue