Fix: Format Immich totals (#2814)

This commit is contained in:
Jack Bailey 2024-02-01 17:38:47 +00:00 committed by GitHub
parent ee38b7c757
commit 6c741c620c
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -30,9 +30,9 @@ export default function Component({ service }) {
return (
<Container service={service}>
<Block label="immich.users" value={immichData.usageByUser.length} />
<Block label="immich.photos" value={immichData.photos} />
<Block label="immich.videos" value={immichData.videos} />
<Block label="immich.users" value={t("common.number", { value: immichData.usageByUser.length })} />
<Block label="immich.photos" value={t("common.number", { value: immichData.photos })} />
<Block label="immich.videos" value={t("common.number", { value: immichData.videos })} />
<Block
label="immich.storage"
value={