You've already forked AstralRinth
forked from didirus/AstralRinth
Remove modpacks from mobile nav
This commit is contained in:
@@ -139,10 +139,10 @@
|
|||||||
<ModIcon />
|
<ModIcon />
|
||||||
<span>Mods</span>
|
<span>Mods</span>
|
||||||
</NuxtLink>
|
</NuxtLink>
|
||||||
<NuxtLink to="/modpacks" class="tab">
|
<!-- <NuxtLink to="/modpacks" class="tab">
|
||||||
<ModpackIcon />
|
<ModpackIcon />
|
||||||
<span>Modpacks</span>
|
<span>Modpacks</span>
|
||||||
</NuxtLink>
|
</NuxtLink>-->
|
||||||
<button class="tab" @click="toggleMobileMenu()">
|
<button class="tab" @click="toggleMobileMenu()">
|
||||||
<HamburgerIcon />
|
<HamburgerIcon />
|
||||||
<span>{{ isMobileMenuOpen ? 'Less' : 'More' }}</span>
|
<span>{{ isMobileMenuOpen ? 'Less' : 'More' }}</span>
|
||||||
|
|||||||
@@ -125,17 +125,17 @@
|
|||||||
accept="image/png,image/jpeg,image/gif,image/webp"
|
accept="image/png,image/jpeg,image/gif,image/webp"
|
||||||
class="choose-image"
|
class="choose-image"
|
||||||
prompt="Choose image or drag it here"
|
prompt="Choose image or drag it here"
|
||||||
@change="showPreviewImage"
|
|
||||||
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
|
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
|
||||||
|
@change="showPreviewImage"
|
||||||
/>
|
/>
|
||||||
<button
|
<button
|
||||||
class="iconified-button"
|
class="iconified-button"
|
||||||
|
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
|
||||||
@click="
|
@click="
|
||||||
icon = null
|
icon = null
|
||||||
previewImage = null
|
previewImage = null
|
||||||
iconChanged = true
|
iconChanged = true
|
||||||
"
|
"
|
||||||
:disabled="(currentMember.permissions & EDIT_DETAILS) !== EDIT_DETAILS"
|
|
||||||
>
|
>
|
||||||
<TrashIcon />
|
<TrashIcon />
|
||||||
Reset
|
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
|
this.isEditing = false
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user