diff --git a/aleksis/apps/chronos/frontend/components/AmendLesson.vue b/aleksis/apps/chronos/frontend/components/AmendLesson.vue index 5473933f454fc7f8af4640ae8f6a75109e8d6d36..3b8c2a1a8bdff8bfbb38b8e4e1bda35a97b04837 100644 --- a/aleksis/apps/chronos/frontend/components/AmendLesson.vue +++ b/aleksis/apps/chronos/frontend/components/AmendLesson.vue @@ -69,10 +69,10 @@ </dialog-object-form> <delete-dialog deleteSuccessMessageI18nKey="chronos.event.amend.delete_success" - :gql-mutation="gqlDeleteMutation" + :gql-delete-mutation="gqlDeleteMutation" v-model="deleteEvent" - :item="selectedEvent.meta" - @success="updateOnSave()" + :items="[selectedEvent.meta]" + @save="updateOnSave()" > <template #title> {{ $t("chronos.event.amend.delete_dialog") }} diff --git a/aleksis/apps/chronos/frontend/components/amendLesson.graphql b/aleksis/apps/chronos/frontend/components/amendLesson.graphql index 87fdf38f36dc3fa5031fc80c2fbd6423e2ee5833..5142b0b84c694333edf8ffce8b905fc4e622b1f3 100644 --- a/aleksis/apps/chronos/frontend/components/amendLesson.graphql +++ b/aleksis/apps/chronos/frontend/components/amendLesson.graphql @@ -69,7 +69,7 @@ mutation patchAmendLessons($input: [BatchPatchLessonEventInput]!) { } mutation deleteAmendLessons($ids: [ID]!) { - deleteAmendLesson(ids: $ids) { + deleteAmendLessons(ids: $ids) { deletionCount } }