This commit is contained in:
@@ -42,6 +42,11 @@
|
||||
/>
|
||||
</q-item-section>
|
||||
<q-item-section>
|
||||
<q-item-label lines="1" v-if="!item.is_terms_accepted">
|
||||
<q-badge color="secondary">
|
||||
{{ $t('user_block__user_pending') }}
|
||||
</q-badge>
|
||||
</q-item-label>
|
||||
<q-item-label lines="1" class="text-bold" v-if="item.section1">
|
||||
{{item.section1}}
|
||||
</q-item-label>
|
||||
@@ -239,6 +244,7 @@
|
||||
import { useUsersStore } from 'stores/users'
|
||||
import { useCompaniesStore } from 'stores/companies'
|
||||
import { useUserSection } from 'composables/useUserSection'
|
||||
|
||||
defineOptions({ inheritAttrs: false })
|
||||
|
||||
const router = useRouter()
|
||||
@@ -261,7 +267,7 @@
|
||||
...el,
|
||||
...userSection(el),
|
||||
companyName: el.company_id && companiesStore.companyById(el.company_id)
|
||||
? companiesStore.companyById(el.company_id)?.name
|
||||
? companiesStore.companyById(el.company_id)?.name ?? null
|
||||
: null
|
||||
})))
|
||||
|
||||
|
||||
Reference in New Issue
Block a user