Remove modpacks from mobile nav
This commit is contained in:
parent
de0e30de57
commit
acb57b3e9c
@ -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>
|
||||
|
||||
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user