Fix show selected

This commit is contained in:
Marcus Noble 2020-11-08 20:01:45 +00:00
parent 595b135316
commit 14176078ea

View File

@ -132,9 +132,9 @@
computed: {
shownItems() {
if (this.selectedFeed === '') {
return this.items.filter(item => !item.Read || item.Read === this.showRead);
return this.items.filter(item => item.ID == this.selectedItem || !item.Read || item.Read === this.showRead);
} else {
return this.items.filter(item => item.FeedID === this.selectedFeed && (!item.Read || item.Read === this.showRead));
return this.items.filter(item => item.ID == this.selectedItem || item.FeedID === this.selectedFeed && (!item.Read || item.Read === this.showRead));
}
},
unread() {