Browse Source

small typo

Co-Authored-By: Alireza Ahmadi <[email protected]>
MHSanaei 1 year ago
parent
commit
d8c509b410
2 changed files with 3 additions and 3 deletions
  1. 2 2
      web/assets/js/util/common.js
  2. 1 1
      web/html/xui/inbound_client_table.html

+ 2 - 2
web/assets/js/util/common.js

@@ -138,9 +138,9 @@ function clientUsageColor(clientStats, trafficDiff) {
         case clientStats.up + clientStats.down < clientStats.total - trafficDiff:
             return "#0e49b5";
         case clientStats.up + clientStats.down < clientStats.total:
-            return "#FFA031";
+            return "#ffa031";
         default:
-            return "#E04141";
+            return "#e04141";
     }
 }
 

+ 1 - 1
web/html/xui/inbound_client_table.html

@@ -136,7 +136,7 @@
             [[ remainedDays(client.expiryTime) ]]
         </a-tag>
         </a-popover>
-        <a-tag v-else :color="userExpiryColor(app.expireDiff, client, themeSwitcher.isDarkTheme)" style="border: 0;" class="infinite-tag">&infin;</a-tag>
+        <a-tag v-else :color="userExpiryColor(app.expireDiff, client, themeSwitcher.isDarkTheme)" style="border: none;" class="infinite-tag">&infin;</a-tag>
     </template>
 </template>
 <template slot="actionMenu" slot-scope="text, client, index">