From 48e90bba51426f96f0843f1abc3c3cd69adb50ff Mon Sep 17 00:00:00 2001 From: Abdalrahman Date: Wed, 13 May 2026 02:12:25 +0300 Subject: [PATCH] fix: show UDP tag for Hysteria and fix client count spacing (#4318) --- frontend/src/models/dbinbound.js | 4 ++++ frontend/src/pages/inbounds/InboundList.vue | 26 ++++++++++++--------- 2 files changed, 19 insertions(+), 11 deletions(-) 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 }} -