Skip to content

Commit

Permalink
fix: cover breaking when editing scene (xbapps#759)
Browse files Browse the repository at this point in the history
  • Loading branch information
alex authored Jun 17, 2022
1 parent 12fa731 commit 1105826
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions ui/src/views/scenes/EditScene.vue
Original file line number Diff line number Diff line change
Expand Up @@ -184,10 +184,7 @@ export default {
})
})
this.scene.images = JSON.stringify(images)
this.scene.cover_url = ""
if (this.scene.length > 0) {
this.scene.cover_url = this.scene.covers[0]
}
this.scene.cover_url = this.scene.covers[0]
this.scene.filenames_arr = JSON.stringify(this.scene.files)
ky.post(`/api/scene/edit/${this.scene.id}`, { json: { ...this.scene } })
Expand Down

0 comments on commit 1105826

Please sign in to comment.