From b9f46e4dd51459d568f4c4de237544bddf8b6db4 Mon Sep 17 00:00:00 2001
From: Fulgen301 <tokmajigeorge@gmail.com>
Date: Sun, 16 Sep 2018 17:29:41 +0200
Subject: UploadVoter: Remove useless request

---
 src/components/UploadVoter.vue | 4 ----
 1 file changed, 4 deletions(-)

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

diff --git a/src/components/UploadVoter.vue b/src/components/UploadVoter.vue
index b929a45..5b67a2e 100644
--- a/src/components/UploadVoter.vue
+++ b/src/components/UploadVoter.vue
@@ -45,10 +45,6 @@
     },
     computed: {
       myVote () {
-        if (!this.upload.voting.vote) {
-          let that = this
-          this.$http.get(`/uploads/${this.upload.id}/vote`).then((response) => { this.upload.voting.vote = response.data })
-        }
         return this.upload.voting.vote
       },
     },
-- 
cgit v1.2.3-54-g00ecf

