Fix show selected
This commit is contained in:
parent
595b135316
commit
14176078ea
@ -132,9 +132,9 @@
|
|||||||
computed: {
|
computed: {
|
||||||
shownItems() {
|
shownItems() {
|
||||||
if (this.selectedFeed === '') {
|
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 {
|
} 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() {
|
unread() {
|
||||||
|
Loading…
Reference in New Issue
Block a user