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<{
edit?: boolean,
roleId?: Id,
shiftSlotFilter?: (slot: ClientScheduleShiftSlot) => boolean,
}>();
interface ShiftSlot {

View file

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