From 48180604f934a3ea1e9fdca1e6cf2676a1d1cbb2 Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Tue, 4 Apr 2023 00:55:05 -0700 Subject: [PATCH] Fix jellyfin / emby blocks boolean evaluation --- src/utils/config/service-helpers.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/utils/config/service-helpers.js b/src/utils/config/service-helpers.js index 2b106173e..f739f05fc 100644 --- a/src/utils/config/service-helpers.js +++ b/src/utils/config/service-helpers.js @@ -282,8 +282,8 @@ export function cleanServiceGroups(groups) { if (wan) cleanedService.widget.wan = wan; } if (type === "emby" || type === "jellyfin") { - if (enableBlocks) cleanedService.widget.enableBlocks = enableBlocks === 'true'; - if (enableNowPlaying) cleanedService.widget.enableNowPlaying = enableNowPlaying === 'true'; + if (enableBlocks) cleanedService.widget.enableBlocks = enableBlocks; + if (enableNowPlaying) cleanedService.widget.enableNowPlaying = enableNowPlaying; } if (type === "diskstation") { if (volume) cleanedService.widget.volume = volume;