diff --git a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonSummary.vue b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonSummary.vue index e53c3ff118aa4285c9566f2e9324d73520c8507a..49eb534e2b18aa4d164f8f05430beb1b942fc6a9 100644 --- a/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonSummary.vue +++ b/aleksis/apps/alsijil/frontend/components/coursebook/documentation/LessonSummary.vue @@ -95,13 +95,11 @@ export default { topic: "", homework: "", groupNote: "", - loading: false, }; }, methods: { handleUpdateAfterCreateOrPatch(itemId, wasCreate) { return (cached, incoming) => { - this.loading = false; for (const object of incoming) { console.log("summary: handleUpdateAfterCreateOrPatch", object); // Replace the current documentation @@ -120,8 +118,6 @@ export default { const homework = this.homework ? { homework: this.homework } : {}; const groupNote = this.groupNote ? { groupNote: this.groupNote } : {}; - this.loading = true; - this.createOrPatch([ { id: this.documentation.id,