diff options
Diffstat (limited to 'src/components')
-rw-r--r-- | src/components/MessagesList/MessagesGroup/Message/MessagePart/Poll.vue | 2 |
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) } }, |