mirror of
https://github.com/romancm/gamebrary
synced 2024-11-28 06:00:22 +00:00
default logo format to svg
This commit is contained in:
parent
6097294866
commit
d2a4102a39
2 changed files with 2 additions and 3 deletions
|
@ -23,8 +23,7 @@
|
|||
@click="handleClick(platform.id)"
|
||||
>
|
||||
<b-img
|
||||
:src="`/static/platform-logos/${platform.slug}.${platform.logoFormat
|
||||
? platform.logoFormat : 'svg'}`"
|
||||
:src="`/static/platform-logos/${platform.slug}.${platform.logoFormat}`"
|
||||
:alt="platform.name"
|
||||
class="platform-logo py-2"
|
||||
/>
|
||||
|
|
|
@ -31,7 +31,7 @@ export default {
|
|||
// categoryId: platform.category,
|
||||
generation: platform.generation || 0,
|
||||
bgHex: PLATFORM_BG_HEX[platform.id] || null,
|
||||
logoFormat: PLATFORM_LOGO_FORMAT[platform.id] || null,
|
||||
logoFormat: PLATFORM_LOGO_FORMAT[platform.id] || 'svg',
|
||||
};
|
||||
|
||||
return formattedPlatform;
|
||||
|
|
Loading…
Reference in a new issue