fix opening create profile when jellyseerr disabled

fixes #445.
This commit is contained in:
Harvey Tindall
2025-12-04 18:19:33 +00:00
parent b59cd73e43
commit 3635a13682
2 changed files with 4 additions and 2 deletions

View File

@@ -221,7 +221,9 @@
"wikiPage": "Wiki Page",
"wiki": "Wiki",
"restartRequired": "Restart required",
"required": "Required"
"required": "Required",
"syntax": "Syntax",
"syntaxDescription": "Variables denoted as {varname}. If statements can evaluate truthfulness (e.g. {if messageAddress}Message sent to {messageAddress}{end}) or make basic comparisons (e.g. {if profile == \"Friends\"}Friend{else if profile != \"Admins\"}User{end})"
},
"notifications": {
"pathCopied": "Full path copied to clipboard.",

View File

@@ -440,7 +440,7 @@ export class ProfileEditor {
}
this._userSelect.innerHTML = innerHTML;
this._storeHomescreen.checked = true;
this._createJellyseerrProfile.checked = true;
if (this._createJellyseerrProfile) this._createJellyseerrProfile.checked = true;
window.modals.profiles.close();
window.modals.addProfile.show();
} else {