Skip to content
This repository has been archived by the owner on Aug 3, 2024. It is now read-only.

Commit

Permalink
Remove modpacks from mobile nav
Browse files Browse the repository at this point in the history
  • Loading branch information
Geometrically committed Feb 28, 2022
1 parent de0e30d commit acb57b3
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
4 changes: 2 additions & 2 deletions layouts/default.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
11 changes: 8 additions & 3 deletions pages/_type/_id/edit.vue
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit acb57b3

Please sign in to comment.