0
0
Fork 0

refactor: refs #8194 modified select worker template

This commit is contained in:
Jon Elias 2024-12-05 14:13:31 +01:00
parent cf522684d6
commit 96920dd540
1 changed files with 2 additions and 5 deletions

View File

@ -68,20 +68,17 @@ const url = computed(() => {
<QTooltip>{{ $t($props.hasInfo) }}</QTooltip>
</QIcon>
</template>
<slot name="more-options" />
<template #option="scope">
<QItem v-bind="scope.itemProps">
<QItemSection>
<QItemLabel>
{{ scope.opt.name }}
{{ console.log('scope.opt: ', scope.opt) }}
</QItemLabel>
<QItemLabel v-if="!scope.opt.id">
{{ scope.opt.nickname }}
</QItemLabel>
<QItemLabel caption v-if="scope.opt.id">
{{ scope.opt.nickname }},
{{ scope.opt.code }}
<QItemLabel caption v-else>
{{ scope.opt.nickname }}, {{ scope.opt.code }}
</QItemLabel>
</QItemSection>
</QItem>