Fixed bug where 2 un-selected issues would stay on selected tab
This commit is contained in:
parent
d5c9d7e753
commit
1b01386a95
1 changed files with 3 additions and 2 deletions
|
@ -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;
|
||||||
|
});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue