Skip to content

Commit

Permalink
exclude removed inboundTags #85
Browse files Browse the repository at this point in the history
  • Loading branch information
alireza0 committed Apr 16, 2024
1 parent f545bcb commit 39ad029
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/layouts/modals/Client.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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: {
Expand Down

0 comments on commit 39ad029

Please sign in to comment.