diff --git a/frontend/src/models/dbinbound.js b/frontend/src/models/dbinbound.js
index e2e0adfe..d7a9483e 100644
--- a/frontend/src/models/dbinbound.js
+++ b/frontend/src/models/dbinbound.js
@@ -70,6 +70,10 @@ export class DBInbound {
return this.protocol === Protocols.WIREGUARD;
}
+ get isHysteria() {
+ return this.protocol === Protocols.HYSTERIA;
+ }
+
get address() {
let address = location.hostname;
if (!ObjectUtil.isEmpty(this.listen) && this.listen !== "0.0.0.0") {
diff --git a/frontend/src/pages/inbounds/InboundList.vue b/frontend/src/pages/inbounds/InboundList.vue
index c425ced5..30ffcc68 100644
--- a/frontend/src/pages/inbounds/InboundList.vue
+++ b/frontend/src/pages/inbounds/InboundList.vue
@@ -395,8 +395,8 @@ function showQrCodeMenu(dbInbound) {
{{ t('pages.inbounds.protocol') }}
{{ record.protocol }}
-
- {{ record.toInbound().stream.network }}
+
+ {{ record.isHysteria ? 'UDP' : record.toInbound().stream.network }}
TLS
Reality
@@ -430,7 +430,7 @@ function showQrCodeMenu(dbInbound) {
{{ t('clients') }}
-
{{ clientCount[record.id].clients }}
+
{{ clientCount[record.id].clients }}
{{ clientCount[record.id].online.length }} {{ t('online') }}
@@ -570,8 +570,8 @@ function showQrCodeMenu(dbInbound) {
-
{{ clientCount[record.id].depleted.length
+ {{ clientCount[record.id].depleted.length
}}
@@ -605,7 +605,7 @@ function showQrCodeMenu(dbInbound) {
{{ email }}
- {{ clientCount[record.id].expiring.length
+ {{ clientCount[record.id].expiring.length
}}
@@ -614,7 +614,7 @@ function showQrCodeMenu(dbInbound) {
{{ email }}
- {{ clientCount[record.id].online.length }}
+ {{ clientCount[record.id].online.length }}
@@ -680,7 +680,7 @@ function showQrCodeMenu(dbInbound) {
}
.filter-bar.mobile>* {
- margin-bottom: 4px;
+ margin-bottom: 4px;
}
.protocol-tags {
@@ -689,6 +689,10 @@ function showQrCodeMenu(dbInbound) {
gap: 4px;
}
+.client-count-tag {
+ font-variant-numeric: tabular-nums;
+}
+
.row-action-trigger {
font-size: 20px;
cursor: pointer;