mirror of
https://github.com/DI0IK/homepage-plus.git
synced 2025-07-10 15:28:47 +00:00
Feature: add albums to Plex service widget
This commit is contained in:
parent
830d4687cd
commit
de11f81234
3 changed files with 19 additions and 2 deletions
|
@ -21,6 +21,7 @@ export default function Component({ service }) {
|
|||
return (
|
||||
<Container service={service}>
|
||||
<Block label="plex.streams" />
|
||||
<Block label="plex.albums" />
|
||||
<Block label="plex.movies" />
|
||||
<Block label="plex.tv" />
|
||||
</Container>
|
||||
|
@ -30,6 +31,7 @@ export default function Component({ service }) {
|
|||
return (
|
||||
<Container service={service}>
|
||||
<Block label="plex.streams" value={t("common.number", { value: plexData.streams })} />
|
||||
<Block label="plex.albums" value={t("common.number", { value: plexData.albums })} />
|
||||
<Block label="plex.movies" value={t("common.number", { value: plexData.movies })} />
|
||||
<Block label="plex.tv" value={t("common.number", { value: plexData.tv })} />
|
||||
</Container>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue