diff --git a/layouts/default.vue b/layouts/default.vue index ee84cc0bd6..bfa7dbdce7 100644 --- a/layouts/default.vue +++ b/layouts/default.vue @@ -139,10 +139,10 @@ Mods - + {{ isMobileMenuOpen ? 'Less' : 'More' }} diff --git a/pages/_type/_id/edit.vue b/pages/_type/_id/edit.vue index 006d5dcc88..6bb2f3e644 100644 --- a/pages/_type/_id/edit.vue +++ b/pages/_type/_id/edit.vue @@ -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" /> 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