You've already forked AstralRinth
forked from didirus/AstralRinth
Update _id.vue (#152)
* Update _id.vue https://discord.com/channels/734077874708938864/734077874708938867/828344523205246976 @Geometrically * fix eslint? * fix eslint
This commit is contained in:
@@ -63,7 +63,7 @@
|
|||||||
<div class="mods">
|
<div class="mods">
|
||||||
<SearchResult
|
<SearchResult
|
||||||
v-for="result in mods"
|
v-for="result in mods"
|
||||||
:id="result.slug ? result.slug : result.id"
|
:id="result.slug || result.id"
|
||||||
:key="result.id"
|
:key="result.id"
|
||||||
:name="result.title"
|
:name="result.title"
|
||||||
:description="result.description"
|
:description="result.description"
|
||||||
@@ -183,9 +183,8 @@ export default {
|
|||||||
{
|
{
|
||||||
hid: 'og:image',
|
hid: 'og:image',
|
||||||
name: 'og:image',
|
name: 'og:image',
|
||||||
content: this.user.avatar_url
|
content:
|
||||||
? this.user.avatar_url
|
this.user.avatar_url || 'https://cdn.modrinth.com/placeholder.png',
|
||||||
: 'https://cdn.modrinth.com/placeholder.png',
|
|
||||||
},
|
},
|
||||||
],
|
],
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user