Skip to content
Snippets Groups Projects
Commit 6475ed8c authored by Ron Lucke's avatar Ron Lucke Committed by Jan-Hendrik Willms
Browse files

fix #4389

Closes #4389

Merge request studip/studip!3202
parent fa371794
No related branches found
No related tags found
No related merge requests found
......@@ -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;
},
......
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