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/modals/qrcode_modal.html | |
| parent | 8c8d280f147ce4e8f604080d1dbf066332e55efc (diff) | |
new: subJsonEnable
after this subEnable by default is true
and subJsonEnable is false
Diffstat (limited to 'web/html/modals/qrcode_modal.html')
| -rw-r--r-- | web/html/modals/qrcode_modal.html | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/web/html/modals/qrcode_modal.html b/web/html/modals/qrcode_modal.html index ef438b74..cdbb585b 100644 --- a/web/html/modals/qrcode_modal.html +++ b/web/html/modals/qrcode_modal.html @@ -30,7 +30,7 @@ </tr-qr-bg-inner> </tr-qr-bg> </tr-qr-box> - <tr-qr-box class="qr-box"> + <tr-qr-box class="qr-box" v-if="app.subSettings.subJsonEnable"> <a-tag color="purple" class="qr-tag"><span>{{ i18n "pages.settings.subSettings"}} Json</span></a-tag> <tr-qr-bg class="qr-bg-sub"> <tr-qr-bg-inner class="qr-bg-sub-inner"> @@ -262,7 +262,9 @@ if (qrModal.client && qrModal.client.subId) { qrModal.subId = qrModal.client.subId; this.setQrCode("qrCode-sub", this.genSubLink(qrModal.subId)); - this.setQrCode("qrCode-subJson", this.genSubJsonLink(qrModal.subId)); + if (app.subSettings.subJsonEnable) { + this.setQrCode("qrCode-subJson", this.genSubJsonLink(qrModal.subId)); + } } qrModal.qrcodes.forEach((element, index) => { this.setQrCode("qrCode-" + index, element.link); |
