mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 14:10:26 +00:00
null check
This commit is contained in:
parent
8ff82d26c4
commit
bbfb0a0bf0
1 changed files with 1 additions and 1 deletions
|
@ -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))
|
||||
: [];
|
||||
},
|
||||
|
|
Loading…
Reference in a new issue