platformNames null check

This commit is contained in:
Gamebrary 2020-08-27 15:07:41 -07:00
parent 0ed2548c40
commit 2ad4a691c4

View file

@ -31,7 +31,7 @@
</b-card-text> </b-card-text>
<template v-slot:footer> <template v-slot:footer>
<b-avatar-group> <b-avatar-group v-if="platformNames.length">
<!-- eslint-disable-next-line --> <!-- eslint-disable-next-line -->
<b-avatar :src="`/static/platform-logos/${platformNames[id].slug}.${platformNames[id].logoFormat}`" <b-avatar :src="`/static/platform-logos/${platformNames[id].slug}.${platformNames[id].logoFormat}`"
v-for="id in board.platforms" v-for="id in board.platforms"