瀏覽代碼

fix(frontend): show zero client count for mtproto and wireguard inbounds

MHSanaei 8 小時之前
父節點
當前提交
476bec451d
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      frontend/src/pages/inbounds/useInbounds.ts

+ 2 - 0
frontend/src/pages/inbounds/useInbounds.ts

@@ -60,6 +60,8 @@ const TRACKED_PROTOCOLS: readonly string[] = [
   Protocols.TROJAN,
   Protocols.SHADOWSOCKS,
   Protocols.HYSTERIA,
+  Protocols.WIREGUARD,
+  Protocols.MTPROTO,
 ];
 
 async function fetchSlimInbounds(): Promise<unknown[]> {