Commit 1b01386a authored by Phil Hughes's avatar Phil Hughes Committed by Fatih Acet

Fixed bug where 2 un-selected issues would stay on selected tab

parent d5c9d7e7
...@@ -65,8 +65,9 @@ ...@@ -65,8 +65,9 @@
removeSelectedIssue(issue, forcePurge = false) { removeSelectedIssue(issue, forcePurge = false) {
if (this.store.activeTab === 'all' || forcePurge) { if (this.store.activeTab === 'all' || forcePurge) {
const index = this.selectedIssueIndex(issue); this.store.selectedIssues = this.store.selectedIssues.filter((fIssue) => {
this.store.selectedIssues.splice(index, 1); return fIssue.id !== issue.id;
});
} }
} }
......
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