Update VoteConstructor.vue

This commit is contained in:
Nukeap committed 2025-01-21 16:56:49 +03:00
1 parent 966eb60ff0
commit 1741478025
1 file changed
+2 -1
@@ -146,7 +146,7 @@
> >
<template #prepend-item> <template #prepend-item>
<v-checkbox class="pa-0" :model-value="question.selectedEmployees.length==allEmployees.length" label="Все" <v-checkbox class="pa-0" :model-value="question.selectedEmployees.length==allEmployees.length" label="Все"
@change="() => handleSelectAll(question.selectedEmployees.length==allEmployees.length, index)"></v-checkbox> @update:model-value="handleSelectAll(question.selectedEmployees.length==allEmployees.length, index)"></v-checkbox>
</template> </template>
<template #item="data"> <template #item="data">
@@ -165,6 +165,7 @@
<template #prepend> <template #prepend>
<v-checkbox hide-details <v-checkbox hide-details
:model-value="question.selectedEmployees.includes(data.item.raw.id)" :model-value="question.selectedEmployees.includes(data.item.raw.id)"
density="compact"></v-checkbox> density="compact"></v-checkbox>
</template> </template>