Remove modpacks from mobile nav

This commit is contained in:
Jai A 2022-02-27 17:58:07 -07:00
parent de0e30de57
commit acb57b3e9c
No known key found for this signature in database
GPG Key ID: CC88DE86F48BE019
2 changed files with 10 additions and 5 deletions

View File

@ -139,10 +139,10 @@
<ModIcon />
<span>Mods</span>
</NuxtLink>
<NuxtLink to="/modpacks" class="tab">
<!-- <NuxtLink to="/modpacks" class="tab">
<ModpackIcon />
<span>Modpacks</span>
</NuxtLink>
</NuxtLink>-->
<button class="tab" @click="toggleMobileMenu()">
<HamburgerIcon />
<span>{{ isMobileMenuOpen ? 'Less' : 'More' }}</span>

View File

@ -125,17 +125,17 @@
accept="image/png,image/jpeg,image/gif,image/webp"
class="choose-image"
prompt="Choose image or drag it here"
@change="showPreviewImage"
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
@change="showPreviewImage"
/>
<button
class="iconified-button"
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
@click="
icon = null
previewImage = null
iconChanged = true
"
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
>
<TrashIcon />
Reset
@ -570,7 +570,12 @@ export default {
)
}
this.$emit('update:featuredVersions', this.newProject)
this.newProject.license = {
id: this.newProject.license.short,
url: this.newProject.license.url,
}
this.$emit('update:project', this.newProject)
this.isEditing = false