Commit 300c6729 authored by Tom Quirk's avatar Tom Quirk

Don't redirect if design delete err in Design view

parent bb942b98
......@@ -162,9 +162,9 @@ export default {
this.errorMessage = ADD_DISCUSSION_COMMENT_ERROR;
throw e;
},
onDesignDeleteError() {
onDesignDeleteError(e) {
this.errorMessage = designDeletionError({ singular: true });
this.$router.push({ name: 'designs' });
throw e;
},
openCommentForm(position) {
const { x, y } = position;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment