fix expiry sign in unlimited clients

This commit is contained in:
Alireza Ahmadi
2023-05-15 15:26:08 +02:00
parent abc82cef4c
commit 6d453fa91b

View File

@@ -106,7 +106,7 @@
return true
},
get isExpiry() {
return this.clientModal.isEdit ? (this.client.expiryTime < new Date().getTime()) : false;
return this.clientModal.isEdit && this.client.expiryTime >0 ? (this.client.expiryTime < new Date().getTime()) : false;
},
get statsColor() {
return usageColor(clientStats.up + clientStats.down, app.trafficDiff, this.client.totalGB);