Add back wrongly removed shiftSlotFilter

This commit is contained in:
Hornwitser 2025-06-18 01:00:51 +02:00
parent bfb9acaa78
commit e821100987
2 changed files with 2 additions and 1 deletions

View file

@ -203,6 +203,7 @@ import type { Id } from '~/shared/types/common';
const props = defineProps<{ const props = defineProps<{
edit?: boolean, edit?: boolean,
roleId?: Id, roleId?: Id,
shiftSlotFilter?: (slot: ClientScheduleShiftSlot) => boolean,
}>(); }>();
interface ShiftSlot { interface ShiftSlot {

View file

@ -75,7 +75,7 @@
>{{ role.name }}</option> >{{ role.name }}</option>
</select> </select>
</label> </label>
<TableScheduleShiftSlots :edit="true" :roleId="roleFilter" /> <TableScheduleShiftSlots :edit="true" :roleId="roleFilter" :shiftSlotFilter />
</template> </template>
</Tabs> </Tabs>
<p v-if="schedule.modified"> <p v-if="schedule.modified">