Merge branch 'develop' into feature/2024.9.0

This commit is contained in:
dakkar 2024-10-18 22:09:11 +01:00
commit 2a4c91efcc
14 changed files with 204 additions and 6 deletions

View file

@ -98,7 +98,7 @@ export class ApQuestionService {
const newCount = apChoices.filter(ap => ap.name === choice).at(0)?.replies?.totalItems;
if (newCount == null) throw new Error('invalid newCount: ' + newCount);
if (oldCount !== newCount) {
if (oldCount <= newCount) {
changed = true;
poll.votes[poll.choices.indexOf(choice)] = newCount;
}