Remove the code finding an issue by undefined
This commit is contained in:
parent
2f53a8d08f
commit
8ad923695e
1 changed files with 1 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue