diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-18 14:56:04 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-09-18 14:56:04 +0300 |
| commit | 59ea2645db827335a0689d2fb7aeeef4e52af52b (patch) | |
| tree | a52caa80571fef4919c3df59a4bceacd60ba6aa6 /web/html/settings.html | |
| parent | 8c8d280f147ce4e8f604080d1dbf066332e55efc (diff) | |
new: subJsonEnable
after this subEnable by default is true
and subJsonEnable is false
Diffstat (limited to 'web/html/settings.html')
| -rw-r--r-- | web/html/settings.html | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/web/html/settings.html b/web/html/settings.html index 0c88f518..22ad3907 100644 --- a/web/html/settings.html +++ b/web/html/settings.html @@ -79,7 +79,7 @@ </template> {{ template "settings/panel/subscription/general" . }} </a-tab-pane> - <a-tab-pane key="5" v-if="allSetting.subEnable" :style="{ paddingTop: '20px' }"> + <a-tab-pane key="5" v-if="allSetting.subJsonEnable" :style="{ paddingTop: '20px' }"> <template #tab> <a-icon type="code"></a-icon> <span>{{ i18n "pages.settings.subSettings" }} (JSON)</span> @@ -523,6 +523,8 @@ if (this.allSetting.subEnable) { subPath = this.allSetting.subURI.length > 0 ? new URL(this.allSetting.subURI).pathname : this.allSetting.subPath; if (subPath == '/sub/') alerts.push('{{ i18n "secAlertSubURI" }}'); + } + if (this.allSetting.subJsonEnable) { subJsonPath = this.allSetting.subJsonURI.length > 0 ? new URL(this.allSetting.subJsonURI).pathname : this.allSetting.subJsonPath; if (subJsonPath == '/json/') alerts.push('{{ i18n "secAlertSubJsonURI" }}'); } |
