Bug Fixes
This commit is contained in:
parent
89ebce79b2
commit
8f487d7d4e
@ -13,7 +13,11 @@
|
||||
<div class="mod-header-text">
|
||||
<div class="columns title">
|
||||
<h2>{{ mod.title }}</h2>
|
||||
<p>by {{ members.find((x) => x.role === 'Owner').name }}</p>
|
||||
<nuxt-link
|
||||
:to="'/user/' + members.find((x) => x.role === 'Owner').user_id"
|
||||
>
|
||||
<p>by {{ members.find((x) => x.role === 'Owner').name }}</p>
|
||||
</nuxt-link>
|
||||
</div>
|
||||
<p>{{ mod.description }}</p>
|
||||
</div>
|
||||
@ -27,7 +31,10 @@
|
||||
<VersionIcon />
|
||||
Versions
|
||||
</nuxt-link>
|
||||
<nuxt-link :to="'/mod/' + mod.id + '/settings'">
|
||||
<nuxt-link
|
||||
v-if="members.find((x) => x.user_id === this.$auth.user.id)"
|
||||
:to="'/mod/' + mod.id + '/settings'"
|
||||
>
|
||||
<SettingsIcon />
|
||||
Settings
|
||||
</nuxt-link>
|
||||
@ -63,7 +70,9 @@
|
||||
>
|
||||
<img :src="member.avatar_url" alt="profile-picture" />
|
||||
<div class="member-info">
|
||||
<h4>{{ member.name }}</h4>
|
||||
<nuxt-link :to="'/user/' + member.user_id">
|
||||
<h4>{{ member.name }}</h4>
|
||||
</nuxt-link>
|
||||
<p>{{ member.role }}</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@ -66,12 +66,12 @@ export default {
|
||||
{
|
||||
hid: 'apple-mobile-web-app-title',
|
||||
name: 'apple-mobile-web-app-title',
|
||||
content: this.mod.title + ' - Modrinth',
|
||||
content: this.mod.title,
|
||||
},
|
||||
{
|
||||
hid: 'og:site_name',
|
||||
name: 'og:site_name',
|
||||
content: this.mod.title + ' - Modrinth',
|
||||
content: this.mod.title,
|
||||
},
|
||||
{
|
||||
hid: 'og:description',
|
||||
|
||||
@ -119,12 +119,12 @@ export default {
|
||||
{
|
||||
hid: 'apple-mobile-web-app-title',
|
||||
name: 'apple-mobile-web-app-title',
|
||||
content: this.mod.title + ' - Modrinth',
|
||||
content: this.mod.title,
|
||||
},
|
||||
{
|
||||
hid: 'og:site_name',
|
||||
name: 'og:site_name',
|
||||
content: this.mod.title + ' - Modrinth',
|
||||
content: this.mod.title,
|
||||
},
|
||||
{
|
||||
hid: 'og:description',
|
||||
|
||||
@ -395,7 +395,7 @@ export default {
|
||||
if (this.selectedVersions.length > 0) {
|
||||
const versionFacets = []
|
||||
for (const facet of this.selectedVersions) {
|
||||
versionFacets.push('version:' + facet)
|
||||
versionFacets.push('versions:' + facet)
|
||||
}
|
||||
formattedFacets.push(versionFacets)
|
||||
}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user