mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-12 16:08:48 +00:00
use aggregate mapped data
to reduce the size of the API responses
This commit is contained in:
parent
9a77115a30
commit
28b2f79e5b
5 changed files with 57 additions and 17 deletions
|
@ -33,7 +33,7 @@ export default function Sonarr({ service }) {
|
|||
<Widget>
|
||||
<Block label={t("sonarr.wanted")} value={wantedData.totalRecords} />
|
||||
<Block label={t("sonarr.queued")} value={queuedData.totalRecords} />
|
||||
<Block label={t("sonarr.series")} value={seriesData.length} />
|
||||
<Block label={t("sonarr.series")} value={seriesData.total} />
|
||||
</Widget>
|
||||
);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue