diff --git a/src/widgets/emby/component.jsx b/src/widgets/emby/component.jsx index 15d6a0bbd..cecebafb3 100644 --- a/src/widgets/emby/component.jsx +++ b/src/widgets/emby/component.jsx @@ -243,9 +243,11 @@ export default function Component({ service }) {
-
-
- - -
+ {expandOneStreamToTwoRows && ( +
+ - +
+ )} )} diff --git a/src/widgets/tautulli/component.jsx b/src/widgets/tautulli/component.jsx index 33f149564..528e84107 100644 --- a/src/widgets/tautulli/component.jsx +++ b/src/widgets/tautulli/component.jsx @@ -155,6 +155,10 @@ export default function Component({ service }) { refreshInterval: 5000, }); + const enableUser = !!service.widget?.enableUser; // default is false + const expandOneStreamToTwoRows = service.widget?.expandOneStreamToTwoRows !== false; // default is true + const showEpisodeNumber = !!service.widget?.showEpisodeNumber; // default is false + if (activityError || (activityData && Object.keys(activityData.response.data).length === 0)) { return ; } @@ -165,9 +169,11 @@ export default function Component({ service }) {
-
-
- - -
+ {expandOneStreamToTwoRows && ( +
+ - +
+ )} ); } @@ -182,10 +188,6 @@ export default function Component({ service }) { return 0; }); - const enableUser = !!service.widget?.enableUser; // default is false - const expandOneStreamToTwoRows = service.widget?.expandOneStreamToTwoRows !== false; // default is true - const showEpisodeNumber = !!service.widget?.showEpisodeNumber; // default is false - if (playing.length === 0) { return (