diff options
| author | Ron Lucke <lucke@elan-ev.de> | 2024-07-11 11:30:37 +0000 |
|---|---|---|
| committer | Jan-Hendrik Willms <tleilax+github@gmail.com> | 2024-07-11 13:31:07 +0200 |
| commit | ce2071f5cb8ab30522b566fa12f951fad2556ce4 (patch) | |
| tree | c532bebdd58a5d8f1dd7bd593958e8b31db65deb | |
| parent | b9e1c072f8cc151e9d87dea04cc27145dd29201b (diff) | |
fix #4389
Closes #4389
Merge request studip/studip!3202
| -rw-r--r-- | resources/vue/components/courseware/CoursewareDashboardTasks.vue | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/resources/vue/components/courseware/CoursewareDashboardTasks.vue b/resources/vue/components/courseware/CoursewareDashboardTasks.vue index f87c640..c9440aa 100644 --- a/resources/vue/components/courseware/CoursewareDashboardTasks.vue +++ b/resources/vue/components/courseware/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; }, |
