diff --git a/bazarr/api/system/settings.py b/bazarr/api/system/settings.py index 50f5d7473..8cdbc90f3 100644 --- a/bazarr/api/system/settings.py +++ b/bazarr/api/system/settings.py @@ -70,8 +70,8 @@ class SystemSettings(Resource): TableLanguagesProfiles.name: item['name'], TableLanguagesProfiles.cutoff: item['cutoff'] if item['cutoff'] != 'null' else None, TableLanguagesProfiles.items: json.dumps(item['items']), - TableLanguagesProfiles.mustContain: item['must_contain'], - TableLanguagesProfiles.mustNotContain: item['must_not_contain'], + TableLanguagesProfiles.mustContain: item['mustContain'], + TableLanguagesProfiles.mustNotContain: item['mustNotContain'], }).execute() for profileId in existing: # Unassign this profileId from series and movies diff --git a/frontend/src/Settings/Languages/table.tsx b/frontend/src/Settings/Languages/table.tsx index 09c75d138..10b71ca60 100644 --- a/frontend/src/Settings/Languages/table.tsx +++ b/frontend/src/Settings/Languages/table.tsx @@ -172,6 +172,8 @@ const Table: FunctionComponent = () => { name: "", items: [], cutoff: null, + mustContain: [], + mustNotContain: [], }; showModal("profile", profile); }}