From e4788cc7f60b2a571273d54606f9da4ce340110b Mon Sep 17 00:00:00 2001 From: shamoon <4887959+shamoon@users.noreply.github.com> Date: Thu, 6 Apr 2023 20:18:06 -0700 Subject: [PATCH] Fix widget option boolean parsing with docker labels --- 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 8795e8bf9..65577336d 100644 --- a/src/utils/config/service-helpers.js +++ b/src/utils/config/service-helpers.js @@ -297,8 +297,8 @@ export function cleanServiceGroups(groups) { if (wan) cleanedService.widget.wan = wan; } if (type === "emby" || type === "jellyfin") { - if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = enableBlocks; - if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = enableNowPlaying; + if (enableBlocks !== undefined) cleanedService.widget.enableBlocks = JSON.parse(enableBlocks); + if (enableNowPlaying !== undefined) cleanedService.widget.enableNowPlaying = JSON.parse(enableNowPlaying); } if (type === "diskstation") { if (volume) cleanedService.widget.volume = volume;