refactor: refs #8194 modified select worker template
gitea/salix-front/pipeline/pr-dev This commit looks good Details

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> <QTooltip>{{ $t($props.hasInfo) }}</QTooltip>
</QIcon> </QIcon>
</template> </template>
<slot name="more-options" />
<template #option="scope"> <template #option="scope">
<QItem v-bind="scope.itemProps"> <QItem v-bind="scope.itemProps">
<QItemSection> <QItemSection>
<QItemLabel> <QItemLabel>
{{ scope.opt.name }} {{ scope.opt.name }}
{{ console.log('scope.opt: ', scope.opt) }}
</QItemLabel> </QItemLabel>
<QItemLabel v-if="!scope.opt.id"> <QItemLabel v-if="!scope.opt.id">
{{ scope.opt.nickname }} {{ scope.opt.nickname }}
</QItemLabel> </QItemLabel>
<QItemLabel caption v-if="scope.opt.id"> <QItemLabel caption v-else>
{{ scope.opt.nickname }}, {{ scope.opt.nickname }}, {{ scope.opt.code }}
{{ scope.opt.code }}
</QItemLabel> </QItemLabel>
</QItemSection> </QItemSection>
</QItem> </QItem>