null check

This commit is contained in:
Gamebrary 2020-08-25 21:28:21 -07:00
parent 8ff82d26c4
commit bbfb0a0bf0

View file

@ -115,7 +115,7 @@ export default {
},
filteredResults() {
return this.results.length
return this.results && this.results.length
? this.results.filter(({ id }) => !this.list[this.listId].games.includes(id))
: [];
},