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>2025-09-16 19:28:02 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-16 19:28:02 +0300
commitdc21f419327dce4bdb2e8b1f2ce37b2e19cb5e10 (patch)
tree529e7d45b17545f6ec5e2eb092eb49b8c95db50f /web/html/component
parentf137b1af76c0a6206ea792a39467646f73b043cb (diff)
bug fix: del Depleted
Diffstat (limited to 'web/html/component')
-rw-r--r--web/html/component/aClientTable.html8
1 files changed, 4 insertions, 4 deletions
diff --git a/web/html/component/aClientTable.html b/web/html/component/aClientTable.html
index a7279e50..572b1be5 100644
--- a/web/html/component/aClientTable.html
+++ b/web/html/component/aClientTable.html
@@ -37,7 +37,7 @@
<template slot="content" >
{{ i18n "lastOnline" }}: [[ formatLastOnline(client.email) ]]
</template>
- <template v-if="client.enable && isClientOnline(client.email)">
+ <template v-if="client.enable && isClientOnline(client.email) && !isClientDepleted">
<a-tag color="green">{{ i18n "online" }}</a-tag>
</template>
<template v-else>
@@ -49,9 +49,9 @@
<a-space direction="horizontal" :size="2">
<a-tooltip>
<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="client.enable && isClientOnline(client.email)">{{ i18n "online" }}</template>
+ <template v-if="isClientDepleted">{{ i18n "depleted" }}</template>
+ <template v-if="!isClientDepleted && !client.enable">{{ i18n "disabled" }}</template>
+ <template v-if="!isClientDepleted && 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>
</a-tooltip>