Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/web/html
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2024-05-16 15:58:32 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2024-05-16 15:58:32 +0300
commit907c30f743647a033cb05af7771680a152f68a7c (patch)
treef050cb23d7acf532df7dee55b922f46bdb5d8ee3 /web/html
parent5202fb2df42c8179f506114ce0377ceb2cefd772 (diff)
bug fix - bulk Telegram ChatID
Diffstat (limited to 'web/html')
-rw-r--r--web/html/xui/client_bulk_modal.html21
-rw-r--r--web/html/xui/inbound_info_modal.html2
2 files changed, 12 insertions, 11 deletions
diff --git a/web/html/xui/client_bulk_modal.html b/web/html/xui/client_bulk_modal.html
index 8f233523..08ec7ef1 100644
--- a/web/html/xui/client_bulk_modal.html
+++ b/web/html/xui/client_bulk_modal.html
@@ -58,13 +58,13 @@
<template slot="title">
<span>{{ i18n "pages.inbounds.telegramDesc" }}</span>
</template>
- Telegram ID
+ Telegram ChatID
<a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
- <a-input-number style="width: 50%" v-model.trim="clientsBulkModal.tgId" min="0"></a-input-number>
+ <a-input-number style="width: 50%" v-model="clientsBulkModal.tgId" min="0"></a-input-number>
</a-form-item>
- <a-form-item>
+ <a-form-item v-if="app.ipLimitEnable">
<template slot="label">
<a-tooltip>
<template slot="title">
@@ -104,10 +104,11 @@
<a-icon type="question-circle"></a-icon>
</a-tooltip>
</template>
- <a-date-picker v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }" format="YYYY-MM-DD HH:mm:ss"
- :dropdown-class-name="themeSwitcher.currentTheme" v-model="clientsBulkModal.expiryTime"></a-date-picker>
+ <a-date-picker v-if="datepicker == 'gregorian'" :show-time="{ format: 'HH:mm:ss' }"
+ format="YYYY-MM-DD HH:mm:ss" :dropdown-class-name="themeSwitcher.currentTheme"
+ v-model="clientsBulkModal.expiryTime"></a-date-picker>
<persian-datepicker v-else placeholder='{{ i18n "pages.settings.datepickerPlaceholder" }}'
- value="clientsBulkModal.expiryTime" v-model="clientsBulkModal.expiryTime"></persian-datepicker>
+ value="clientsBulkModal.expiryTime" v-model="clientsBulkModal.expiryTime"></persian-datepicker>
</a-form-item>
<a-form-item v-if="clientsBulkModal.expiryTime != 0">
<template slot="label">
@@ -143,7 +144,7 @@
emailPrefix: "",
emailPostfix: "",
subId: "",
- tgId: 0,
+ tgId: '',
flow: "",
delayedStart: false,
reset: 0,
@@ -165,7 +166,7 @@
if (method == 4) newClient.email = "";
newClient.email += useNum ? prefix + i.toString() + postfix : prefix + postfix;
if (clientsBulkModal.subId.length > 0) newClient.subId = clientsBulkModal.subId;
- if (clientsBulkModal.tgId.length > 0) newClient.tgId = clientsBulkModal.tgId;
+ newClient.tgId = clientsBulkModal.tgId;
newClient.limitIp = clientsBulkModal.limitIp;
newClient._totalGB = clientsBulkModal.totalGB;
newClient._expiryTime = clientsBulkModal.expiryTime;
@@ -200,7 +201,7 @@
this.emailPrefix = "";
this.emailPostfix = "";
this.subId = "";
- this.tgId = 0;
+ this.tgId = '';
this.flow = "";
this.dbInbound = new DBInbound(dbInbound);
this.inbound = dbInbound.toInbound();
@@ -220,7 +221,7 @@
clientsBulkModal.visible = false;
clientsBulkModal.loading(false);
},
- loading(loading=true) {
+ loading(loading = true) {
clientsBulkModal.confirmLoading = loading;
},
};
diff --git a/web/html/xui/inbound_info_modal.html b/web/html/xui/inbound_info_modal.html
index 021707a7..b15f1830 100644
--- a/web/html/xui/inbound_info_modal.html
+++ b/web/html/xui/inbound_info_modal.html
@@ -255,7 +255,7 @@
</tr-info-row>
</template>
<template v-if="app.tgBotEnable && infoModal.clientSettings.tgId">
- <a-divider>Telegram ID</a-divider>
+ <a-divider>Telegram ChatID</a-divider>
<tr-info-row class="tr-info-row">
<tr-info-title class="tr-info-title">
<a-tag color="blue">[[ infoModal.clientSettings.tgId ]]</a-tag>