diff --git a/src/components/images/ImageUploader.vue b/src/components/images/ImageUploader.vue index 71e5bfa7..799c2def 100644 --- a/src/components/images/ImageUploader.vue +++ b/src/components/images/ImageUploader.vue @@ -39,14 +39,14 @@
(%): - +
- +
Add to Editor @@ -75,6 +75,8 @@ export default { components: { Modal }, setup(props, { emit }) { //, { emit }) { /* View Methods */ + const imageUrl = image => 'http://localhost:8080' + image.url + const uploadFile = (e) => { v.hover = false emit('upload-error', null) // clear previous errors @@ -243,7 +245,7 @@ export default { watch(() => v.hover, a => a ? null : emit('hover-stop')) - return { ...toRefs(v), uploadFile, fireDone } + return { ...toRefs(v), imageUrl, uploadFile, fireDone } } }