Skip to content
Snippets Groups Projects
Commit 7ea53e6c authored by Marcus Eibrink-Lunzenauer's avatar Marcus Eibrink-Lunzenauer Committed by Ron Lucke
Browse files

Close delete dialog before deleting a structural element, fixes #315.

parent 844e628a
No related branches found
No related tags found
No related merge requests found
......@@ -1045,11 +1045,11 @@ export default {
},
async deleteCurrentElement() {
let parent_id = this.structuralElement.relationships.parent.data.id;
this.showElementDeleteDialog(false);
await this.deleteStructuralElement({
id: this.currentId,
parentId: this.structuralElement.relationships.parent.data.id,
});
this.showElementDeleteDialog(false);
this.$router.push(parent_id);
},
async createElement() {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment