mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-20 11:39:49 +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
|
@ -35,7 +35,7 @@ export default function Component({ service }) {
|
|||
<>
|
||||
<Container service={service}>
|
||||
<Block label="truenas.load" value={t("common.number", { value: statusData.loadavg[0] })} />
|
||||
<Block label="truenas.uptime" value={t("common.uptime", { value: statusData.uptime_seconds })} />
|
||||
<Block label="truenas.uptime" value={t("common.duration", { value: statusData.uptime_seconds })} />
|
||||
<Block label="truenas.alerts" value={t("common.number", { value: alertData.pending })} />
|
||||
</Container>
|
||||
{enablePools &&
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue