aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFulgen301 <tokmajigeorge@gmail.com>2018-09-16 17:30:10 +0200
committerFulgen301 <tokmajigeorge@gmail.com>2018-09-16 17:30:10 +0200
commit1ba019edcfdb574edcf511e6941afd5402787f8d (patch)
tree915c12665101cc8b67a7fa4b8b0f9bf81a4e8cf1
parentb9f46e4dd51459d568f4c4de237544bddf8b6db4 (diff)
downloadparry-ui-1ba019edcfdb574edcf511e6941afd5402787f8d.tar.gz
parry-ui-1ba019edcfdb574edcf511e6941afd5402787f8d.zip
UploadDetail: Disable comment voting as it is not implemented yet
-rw-r--r--src/pages/UploadDetail.vue5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/pages/UploadDetail.vue b/src/pages/UploadDetail.vue
index f274eec..ec75faa 100644
--- a/src/pages/UploadDetail.vue
+++ b/src/pages/UploadDetail.vue
@@ -151,7 +151,7 @@
icon="fa-trash"
color="negative"
@click="deleteComment(comment)"/>
- <comment-voter @voted="refresh" :comment="comment"></comment-voter>
+ <comment-voter @voted="refresh" :comment="comment" v-if="false" ></comment-voter>
</div>
</q-card-main>
<q-card-separator />
@@ -345,7 +345,7 @@
return picture.map(p => `${this.$http.defaults.baseURL}/media/${p.id}`)
},
uploadSuccess (file, response) {
- this.upload.files.push(response)
+ this.upload.files.push(response.data)
this.$refs.filesDropzone.removeFile(file)
this.$q.notify({type: 'positive', message: 'File uploaded successfully. Press the save button to activate it.'})
},
@@ -415,7 +415,6 @@
that.$q.notify('Error sending your comment')
this.commentSaving = false
that.refresh()
- console.log(error)
console.error(error)
})
}