Only show game count when platform is clickable

This commit is contained in:
Roman Cervantes 2019-09-03 13:40:23 -07:00
parent 98d7ba7b80
commit e885b6a015

View file

@ -63,9 +63,11 @@ export default {
},
ownedPlatform(platformCode) {
return this.gameLists
const isOwned = this.gameLists
&& this.gameLists[platformCode]
&& Object.keys(this.gameLists[platformCode]).length;
return this.isOwned && this.clickable;
},
getGameCount(platform) {