load detour tags
This commit is contained in:
@@ -5,6 +5,8 @@
|
||||
:id="modal.id"
|
||||
:stats="modal.stats"
|
||||
:data="modal.data"
|
||||
:inTags="inTags"
|
||||
:outTags="outTags"
|
||||
@close="closeModal"
|
||||
@save="saveModal"
|
||||
/>
|
||||
@@ -115,6 +117,14 @@ const inbounds = computed((): Inbound[] => {
|
||||
return <Inbound[]> appConfig.value.inbounds
|
||||
})
|
||||
|
||||
const inTags = computed((): string[] => {
|
||||
return appConfig.value.inbounds.map(i => i.tag)
|
||||
})
|
||||
|
||||
const outTags = computed((): string[] => {
|
||||
return appConfig.value.outbounds.map(i => i.tag)
|
||||
})
|
||||
|
||||
const clients = computed((): Client[] => {
|
||||
return <Client[]> Data().clients
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user