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
diff options
context:
space:
mode:
authorMHSanaei <ho3ein.sanaei@gmail.com>2024-02-19 00:15:00 +0300
committerMHSanaei <ho3ein.sanaei@gmail.com>2024-02-19 00:17:47 +0300
commit6b5535e60a6efec707be893cde4108b331553846 (patch)
treea26f3c45ebff554e1f7ab6f930255e3932a7063a /web/html/xui/inbound_client_table.html
parentfe00cfb09bc7810943a5e777f969a68d3740031c (diff)
some changes
Co-Authored-By: Alireza Ahmadi <alireza7@gmail.com>
Diffstat (limited to 'web/html/xui/inbound_client_table.html')
-rw-r--r--web/html/xui/inbound_client_table.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/web/html/xui/inbound_client_table.html b/web/html/xui/inbound_client_table.html
index d7619dde..c4c405ec 100644
--- a/web/html/xui/inbound_client_table.html
+++ b/web/html/xui/inbound_client_table.html
@@ -40,7 +40,7 @@
<a-switch v-model="client.enable" @change="switchEnableClient(record.id,client)"></a-switch>
</template>
<template slot="online" slot-scope="text, client, index">
- <template v-if="isClientOnline(client.email)">
+ <template v-if="client.enable && isClientOnline(client.email)">
<a-tag color="green">{{ i18n "online" }}</a-tag>
</template>
<template v-else>
@@ -52,7 +52,7 @@
<template slot="title">
<template v-if="!isClientEnabled(record, client.email)">{{ i18n "depleted" }}</template>
<template v-else-if="!client.enable">{{ i18n "disabled" }}</template>
- <template v-else-if="isClientOnline(client.email)">{{ i18n "online" }}</template>
+ <template v-else-if="client.enable && isClientOnline(client.email)">{{ i18n "online" }}</template>
</template>
<a-badge :class="isClientOnline(client.email)? 'online-animation' : ''" :color="client.enable ? statsExpColor(record, client.email) : themeSwitcher.isDarkTheme ? '#2c3950' : '#bcbcbc'">
</a-badge>