Skip to content
Snippets Groups Projects
Commit 56feacf1 authored by permcu's avatar permcu
Browse files

Fix LessonRaster

parent 3f3e1918
No related branches found
No related tags found
1 merge request!26Resolve "Adapt to refactored CRUD lists"
Pipeline #170883 failed
......@@ -171,15 +171,15 @@
:disabled="
$apollo.queries.items.loading || loading.main || loading[slot.weekday]
"
@click:delete="deleteSingularSlot"
@click:delete="deleteSlot"
@click:copy="copySingularSlotTodDay($event.item, $event.weekday)"
:weekdays="weekdays"
:id="'#slot-' + slot.id"
/>
<delete-dialog
:gql-mutation="deleteMutation"
:gql-query="$apollo.queries.items"
:gql-delete-mutation="deleteMutation"
:affected-query="$apollo.queries.items"
:items="itemsToDelete"
v-model="deleteDialog"
>
......@@ -405,7 +405,7 @@ export default {
});
},
deleteSlot(slot) {
this.itemToDeletes = [slot]
this.itemsToDelete = [slot]
this.deleteDialog = true;
},
deleteSlotsOfDay(weekday) {
......
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