Update src/widgets/tautulli/component.jsx

Co-authored-by: shamoon <4887959+shamoon@users.noreply.github.com>
This commit is contained in:
brikim 2024-04-12 22:12:56 -05:00 committed by GitHub
parent e82f667c17
commit b91afa65fd
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -168,7 +168,7 @@ export default function Component({ service }) {
);
}
const enableUser = service.widget?.enableUser ?? true;
const enableUser = !!service.widget?.enableUser;
if (playing.length === 1) {
const session = playing[0];