diff --git a/src/front/src/components/calendar_of_events/calendar-create-select.vue b/src/front/src/components/calendar_of_events/calendar-create-select.vue index eb3f30992..4e90cfccc 100644 --- a/src/front/src/components/calendar_of_events/calendar-create-select.vue +++ b/src/front/src/components/calendar_of_events/calendar-create-select.vue @@ -60,13 +60,14 @@ :color="'indigo-darken-4'" :true-value="true" :false-value="false" - :disabled="okey == 'editor' ? disable(item.raw) : false" + disabled :indeterminate=" item.raw.employees.some((e) => e[okey] == true) && !item.raw.employees.every((e) => e[okey] == true) " :model-value="item.raw[okey]" > + @@ -77,13 +78,14 @@ )" :key="x.id" :value="x.title" - :disabled="x.id == accountStore.user.is_idEmployee" + disabled @click.stop="selectedStaff = x" density="compact" > +