mirror of
https://github.com/cheeaun/phanpy.git
synced 2024-11-24 10:15:37 +03:00
Merge pull request #767 from Steffo99/feature/akkoma-vote-counts
Fix invalid vote counts on single choice polls on certain MastoAPI implementations
This commit is contained in:
commit
2b4dbdfed5
1 changed files with 1 additions and 1 deletions
|
@ -49,7 +49,7 @@ export default function Poll({
|
|||
// };
|
||||
// }, [expired, expiresAtDate]);
|
||||
|
||||
const pollVotesCount = votersCount || votesCount;
|
||||
const pollVotesCount = multiple ? votersCount : votesCount;
|
||||
let roundPrecision = 0;
|
||||
|
||||
if (pollVotesCount <= 1000) {
|
||||
|
|
Loading…
Reference in a new issue