small fixes

This commit is contained in:
Alireza Ahmadi
2024-05-15 01:46:19 +02:00
parent db36756515
commit 5805e397af
14 changed files with 16 additions and 18 deletions
+2 -2
View File
@@ -120,7 +120,7 @@ const inbounds = computed((): Inbound[] => {
})
const inTags = computed((): string[] => {
return inbounds.value.map(i => i.tag)
return inbounds.value?.map(i => i.tag)
})
const outTags = computed((): string[] => {
@@ -136,7 +136,7 @@ const onlines = computed(() => {
})
const v2rayStats = computed((): V2rayApiStats => {
return <V2rayApiStats> appConfig.value.experimental.v2ray_api.stats
return <V2rayApiStats> appConfig.value.experimental?.v2ray_api.stats
})
const modal = ref({