Skip to content

Commit f5f24ff

Browse files
blackb1rdCopilot
authored andcommitted
Update web/src/components/TaskForm.vue
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent e0bb1f4 commit f5f24ff

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

web/src/components/TaskForm.vue

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -96,14 +96,16 @@
9696
:multiple="v.type === 'select'"
9797
:chips="v.type === 'select'"
9898
>
99-
<template v-if="v.type === 'select'" v-slot:selection="{ item, index }">
100-
<v-chip
101-
small
102-
close
103-
@click:close="deleteItem(v.name, index)"
104-
>
105-
{{ item.name }}
106-
</v-chip>
99+
<template v-slot:selection="{ item, index }">
100+
<div v-if="v.type === 'select'">
101+
<v-chip
102+
small
103+
close
104+
@click:close="deleteItem(v.name, index)"
105+
>
106+
{{ item.name }}
107+
</v-chip>
108+
</div>
107109
</template>
108110
</v-select>
109111

0 commit comments

Comments
 (0)