Commit a5ec7564 authored by jackie / Andrea Ida Malkah Klaura's avatar jackie / Andrea Ida Malkah Klaura
Browse files

FEAT: logo and image upload work now

fixes #5
parent a46a5aef
...@@ -1004,14 +1004,12 @@ export default { ...@@ -1004,14 +1004,12 @@ export default {
if (this.show.logo === null) { this.string = '' } if (this.show.logo === null) { this.string = '' }
else { this.string = this.show.logo } else { this.string = this.show.logo }
this.file = null this.file = null
//this.$refs.fileinputLogo.reset()
this.$refs.modalLogo.show() this.$refs.modalLogo.show()
}, },
showImage () { showImage () {
if (this.show.image === null) { this.string = '' } if (this.show.image === null) { this.string = '' }
else { this.string = this.show.image } else { this.string = this.show.image }
this.file = null this.file = null
this.$refs.fileinputImage.reset()
this.$refs.modalImage.show() this.$refs.modalImage.show()
} }
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment