diff options
| author | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-08-04 20:09:01 +0300 |
|---|---|---|
| committer | mhsanaei <ho3ein.sanaei@gmail.com> | 2025-08-04 20:09:01 +0300 |
| commit | 7e9c3bdbaf13e190b02009132867ad9933c5f459 (patch) | |
| tree | eee9fbe174ccaf14c3ae66b190008b9ec31a2ff2 | |
| parent | 957f3dbb5449475f330d863171134b56e37da4ad (diff) | |
fix: sub enable warning
| -rw-r--r-- | web/html/form/client.html | 2 | ||||
| -rw-r--r-- | web/html/modals/client_bulk_modal.html | 2 | ||||
| -rw-r--r-- | web/html/modals/qrcode_modal.html | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/web/html/form/client.html b/web/html/form/client.html index 846bbd13..908f28d2 100644 --- a/web/html/form/client.html +++ b/web/html/form/client.html @@ -44,7 +44,7 @@ <a-select-option v-for="key in USERS_SECURITY" :value="key">[[ key ]]</a-select-option> </a-select> </a-form-item> - <a-form-item v-if="client.email && app.subSettings.enable"> + <a-form-item v-if="client.email && app.subSettings?.enable"> <template slot="label"> <a-tooltip> <template slot="title"> diff --git a/web/html/modals/client_bulk_modal.html b/web/html/modals/client_bulk_modal.html index d6bcfcd6..ac0fa011 100644 --- a/web/html/modals/client_bulk_modal.html +++ b/web/html/modals/client_bulk_modal.html @@ -39,7 +39,7 @@ <a-select-option v-for="key in TLS_FLOW_CONTROL" :value="key">[[ key ]]</a-select-option> </a-select> </a-form-item> - <a-form-item v-if="app.subSettings.enable"> + <a-form-item v-if="app.subSettings?.enable"> <template slot="label"> <a-tooltip> <template slot="title"> diff --git a/web/html/modals/qrcode_modal.html b/web/html/modals/qrcode_modal.html index 5d3d05a8..e67dc640 100644 --- a/web/html/modals/qrcode_modal.html +++ b/web/html/modals/qrcode_modal.html @@ -21,7 +21,7 @@ </a-space> </template> <tr-qr-modal class="qr-modal"> - <template v-if="app.subSettings.enable && qrModal.subId"> + <template v-if="app.subSettings?.enable && qrModal.subId"> <tr-qr-box class="qr-box"> <a-tag color="purple" class="qr-tag"><span>{{ i18n "pages.settings.subSettings"}}</span></a-tag> <tr-qr-bg class="qr-bg-sub"> |
