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 }} -