diff --git a/resources/vue/components/courseware/tasks/CoursewareDashboardTasks.vue b/resources/vue/components/courseware/tasks/CoursewareDashboardTasks.vue index 9c9e298eff2488f73875431d4b339dfc38465238..8dac7c3a1c8cd82cbff72fe7e09d176c8c9698f5 100644 --- a/resources/vue/components/courseware/tasks/CoursewareDashboardTasks.vue +++ b/resources/vue/components/courseware/tasks/CoursewareDashboardTasks.vue @@ -220,6 +220,7 @@ export default { this.currentTask = null; }, async submitTask() { + const currentTaskGroup = this.getTaskGroupById({ id: this.currentTask.relationships['task-group'].data.id }); this.showSubmitDialog = false; let attributes = {}; attributes.submitted = true; @@ -228,7 +229,7 @@ export default { taskId: this.currentTask.id, }); this.companionSuccess({ - info: '"' + this.currentTask.attributes.title + '" ' + this.$gettext('wurde erfolgreich abgegeben.'), + info: '"' + currentTaskGroup.attributes.title + '" ' + this.$gettext('wurde erfolgreich abgegeben.'), }); this.currentTask = null; },