From 7ecc0e2cdb99fc70a4198c323ee555ae5801a0cf Mon Sep 17 00:00:00 2001
From: Arne Schauf <git@asw.io>
Date: Sun, 4 Mar 2018 03:38:27 +0100
Subject: fix voting stuff

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

(limited to 'src/components/UploadVoter.vue')

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>
-- 
cgit v1.2.3-54-g00ecf

