Commit 8ad92369 authored by Phil Hughes's avatar Phil Hughes

Remove the code finding an issue by undefined

parent 2f53a8d0
......@@ -39,8 +39,7 @@
// Need this because our jQuery very kindly disables buttons on ALL form submissions
$(this.$els.submitButton).enable();
// Remove issue with no ID
const issue = this.list.findIssue(undefined);
// Remove the issue
this.list.removeIssue(issue);
// Show error message
......
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