Skip to content
Snippets Groups Projects
Commit 51142e81 authored by permcu's avatar permcu
Browse files

Reuse draggedTeachers/Rooms in overlayLessons

parent 71f443eb
No related branches found
No related tags found
1 merge request!50Resolve "Implement bundled courses/lessons"
......@@ -216,9 +216,8 @@ export default defineComponent({
variables() {
return {
timeGrid: this.internalTimeGrid.id,
rooms: this.draggedItem?.data.rooms?.map((room) => room.id) || [],
teachers:
this.draggedItem?.data.teachers?.map((teacher) => teacher.id) || [],
rooms: this.draggedRooms,
teachers: this.draggedTeachers,
};
},
skip() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment