diff --git a/lang/admin/en-us.json b/lang/admin/en-us.json index 65ad56c..fddf7e0 100644 --- a/lang/admin/en-us.json +++ b/lang/admin/en-us.json @@ -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.", diff --git a/ts/modules/profiles.ts b/ts/modules/profiles.ts index 87a2dd9..a627674 100644 --- a/ts/modules/profiles.ts +++ b/ts/modules/profiles.ts @@ -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 {