Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/components')
-rw-r--r--src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
index abee7dbe7..8925a3163 100644
--- a/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
+++ b/src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue
@@ -259,7 +259,7 @@ export default {
if (this.pollVotes[`option-${index}`] === undefined) {
return 0
}
- return this.pollVotes[`option-${index}`] / this.votersNumber * 100
+ return parseInt(this.pollVotes[`option-${index}`] / this.votersNumber * 100)
}
},