small fixes

This commit is contained in:
Alireza Ahmadi
2025-01-05 19:36:35 +01:00
parent 751066ac6c
commit a6dc0cc589
2 changed files with 7 additions and 7 deletions
+2 -2
View File
@@ -6,7 +6,7 @@
@close="closeEditModal" @close="closeEditModal"
@save="saveEditModal" @save="saveEditModal"
/> />
<ChngModal <ChangeModal
v-model="changesModal.visible" v-model="changesModal.visible"
:visible="changesModal.visible" :visible="changesModal.visible"
:admins="users.map((u:any) => u.username)" :admins="users.map((u:any) => u.username)"
@@ -62,7 +62,7 @@
<script lang="ts" setup> <script lang="ts" setup>
import AdminModal from '@/layouts/modals/Admin.vue' import AdminModal from '@/layouts/modals/Admin.vue'
import ChngModal from '@/layouts/modals/Changes.vue' import ChangeModal from '@/layouts/modals/Changes.vue'
import { i18n } from '@/locales' import { i18n } from '@/locales'
import HttpUtils from '@/plugins/httputil' import HttpUtils from '@/plugins/httputil'
import { Ref, ref, inject, onMounted } from 'vue' import { Ref, ref, inject, onMounted } from 'vue'
+5 -5
View File
@@ -51,11 +51,11 @@
<v-row> <v-row>
<v-col>{{ $t('pages.clients') }}</v-col> <v-col>{{ $t('pages.clients') }}</v-col>
<v-col dir="ltr"> <v-col dir="ltr">
<template v-if="inboundWithUsers.includes(item.tag)"> <template v-if="inboundWithUsers.includes(item.type)">
<v-tooltip activator="parent" dir="ltr" location="bottom" v-if="findInboundUsers(item.tag).length > 0"> <v-tooltip activator="parent" dir="ltr" location="bottom" v-if="findInboundUsers(item).length > 0">
<span v-for="u in findInboundUsers(item.tag)">{{ u }}<br /></span> <span v-for="u in findInboundUsers(item)">{{ u }}<br /></span>
</v-tooltip> </v-tooltip>
{{ findInboundUsers(item.tag).length }} {{ findInboundUsers(item).length }}
</template> </template>
<template v-else>-</template> <template v-else>-</template>
</v-col> </v-col>
@@ -109,7 +109,7 @@ import Data from '@/store/modules/data'
import InboundVue from '@/layouts/modals/Inbound.vue' import InboundVue from '@/layouts/modals/Inbound.vue'
import Stats from '@/layouts/modals/Stats.vue' import Stats from '@/layouts/modals/Stats.vue'
import { Config } from '@/types/config' import { Config } from '@/types/config'
import { computed, onMounted, ref } from 'vue' import { computed, ref } from 'vue'
import { Inbound, inboundWithUsers } from '@/types/inbounds' import { Inbound, inboundWithUsers } from '@/types/inbounds'
import { Client } from '@/types/clients' import { Client } from '@/types/clients'
import { i18n } from '@/locales' import { i18n } from '@/locales'