Fix: use duration for audiobookshelf books too

See #4228
pull/4315/head
shamoon 4 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.booksDuration"
value={t("common.number", {
value: totalBooksDuration / 60,
maximumFractionDigits: 0,
style: "unit",
unit: "minute",
value={t("common.duration", {
value: totalBooksDuration,
})}
/>
</Container>

Loading…
Cancel
Save