PART 2: ESLINT, EXAMPLES & MORE

This commit is contained in:
purpshell
2022-12-23 13:09:01 +02:00
parent a519105870
commit 2020d00ee4
8 changed files with 49 additions and 14 deletions

View File

@@ -407,7 +407,7 @@ exports.LoadUtils = () => {
}
if (msg.type == 'poll_creation') {
msg.pollVotes = Store.PollVote.getForParent(msg.id).getModelsArray().map(a => a.serialize());
msg.pollVotes = window.Store.PollVote.getForParent(msg.id).getModelsArray().map(a => a.serialize());
}
delete msg.pendingAckUpdate;
@@ -636,7 +636,7 @@ exports.LoadUtils = () => {
for (const option of selectedOptions) {
if (a.name == option) localIdSet.add(a.localId);
}
})
});
await window.Store.SendVote.sendVote(msg, localIdSet);
}
};
};