aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/UploadVoter.vue
diff options
context:
space:
mode:
authorArne Schauf <git@asw.io>2018-03-04 03:38:27 +0100
committerArne Schauf <git@asw.io>2018-03-04 03:38:27 +0100
commit7ecc0e2cdb99fc70a4198c323ee555ae5801a0cf (patch)
tree3215d76bc42794cd877c3b19c61e8db0c34d4c3e /src/components/UploadVoter.vue
parentdf5a54c7b1f862c3425d7aa30e0a8b964e7b9716 (diff)
downloadparry-ui-7ecc0e2cdb99fc70a4198c323ee555ae5801a0cf.tar.gz
parry-ui-7ecc0e2cdb99fc70a4198c323ee555ae5801a0cf.zip
fix voting stuff
Diffstat (limited to 'src/components/UploadVoter.vue')
-rw-r--r--src/components/UploadVoter.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/UploadVoter.vue b/src/components/UploadVoter.vue
index 563bc79..031cd82 100644
--- a/src/components/UploadVoter.vue
+++ b/src/components/UploadVoter.vue
@@ -7,7 +7,7 @@
</i>
{{ upload.voting.sum }}
</h5>
- <span v-if="upload.author.username !== $store.state.user.decodedToken.username && !myVote">
+ <span v-if="!myVote">
<q-btn color="negative" round small icon="fa-thumbs-down" @click="vote(-1)"></q-btn>
<q-btn color="positive" round small icon="fa-thumbs-up" @click="vote(1)"></q-btn>
</span>