Update src/utils/config/service-helpers.js

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

View File

@ -526,10 +526,7 @@ export function cleanServiceGroups(groups) {
}
if (["tautulli"].includes(type)) {
if (enableUser !== undefined) {
cleanedService.widget.enableUser = JSON.parse(enableUser);
}
else {
cleanedService.widget.enableUser = false;
cleanedService.widget.enableUser = !!JSON.parse(enableUser);
}
}
if (["sonarr", "radarr"].includes(type)) {