From 39ad029e20573a1320ef043195489e2ed5ce05a6 Mon Sep 17 00:00:00 2001 From: Alireza Ahmadi Date: Tue, 16 Apr 2024 23:19:33 +0200 Subject: [PATCH] exclude removed inboundTags #85 --- frontend/src/layouts/modals/Client.vue | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/frontend/src/layouts/modals/Client.vue b/frontend/src/layouts/modals/Client.vue index bf22168..942cade 100644 --- a/frontend/src/layouts/modals/Client.vue +++ b/frontend/src/layouts/modals/Client.vue @@ -210,7 +210,7 @@ export default { }, computed: { clientInbounds: { - get() { return this.client.inbounds == "" ? [] : this.client.inbounds.split(',') }, + get() { return this.client.inbounds == "" ? [] : this.client.inbounds.split(',').filter(i => this.inboundTags.includes(i)) }, set(newValue:string[]) { this.client.inbounds = newValue.length == 0 ? "" : newValue.join(',') } }, expDate: {