Fix: use duration for audiobookshelf books too

See #4228
pull/4315/head
shamoon 5 days ago
parent e730a0ceb0
commit 250351f735
No known key found for this signature in database

@ -46,11 +46,8 @@ export default function Component({ service }) {
<Block label="audiobookshelf.books" value={t("common.number", { value: totalBooks })} /> <Block label="audiobookshelf.books" value={t("common.number", { value: totalBooks })} />
<Block <Block
label="audiobookshelf.booksDuration" label="audiobookshelf.booksDuration"
value={t("common.number", { value={t("common.duration", {
value: totalBooksDuration / 60, value: totalBooksDuration,
maximumFractionDigits: 0,
style: "unit",
unit: "minute",
})} })}
/> />
</Container> </Container>

Loading…
Cancel
Save