From a83f3b8b6302ca59087f4df477536fea34fb8e7a Mon Sep 17 00:00:00 2001
From: Fulgen301 <tokmajigeorge@gmail.com>
Date: Fri, 26 Jul 2019 17:17:33 +0200
Subject: Detail: Fix file upload

---
 src/pages/UploadDetail.vue | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

(limited to 'src/pages/UploadDetail.vue')

diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index 5eee7e6..056c837 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -351,7 +351,7 @@
         return picture.map(p => `${this.$http.defaults.baseURL}/media/${p.id}`)
       },
       uploadSuccess (file, response) {
-        this.upload.files.push(response.data)
+        this.upload.files.push(response)
         this.$refs.filesDropzone.removeFile(file)
         this.$q.notify({type: 'positive', message: 'File uploaded successfully. Press the save button to activate it.'})
       },
-- 
cgit v1.2.3-54-g00ecf

