Add back wrongly removed shiftSlotFilter
This commit is contained in:
parent
bfb9acaa78
commit
e821100987
2 changed files with 2 additions and 1 deletions
|
@ -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 {
|
||||||
|
|
|
@ -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">
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue