Skip to content
Snippets Groups Projects
Commit 40edcdd0 authored by Hangzhi Yu's avatar Hangzhi Yu
Browse files

Adapt deletion of substitutions to CRUD refactoring

parent cf092d08
No related branches found
No related tags found
1 merge request!310Resolve "Implement Vue substitution frontend"
Pipeline #172373 failed
......@@ -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") }}
......
......@@ -69,7 +69,7 @@ mutation patchAmendLessons($input: [BatchPatchLessonEventInput]!) {
}
mutation deleteAmendLessons($ids: [ID]!) {
deleteAmendLesson(ids: $ids) {
deleteAmendLessons(ids: $ids) {
deletionCount
}
}
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