We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6796650 commit 2460d0dCopy full SHA for 2460d0d
src/voting/approval.ts
@@ -34,6 +34,7 @@ export default class ApprovalVoting {
34
}
35
36
getChoiceString() {
37
+ if (!this.selected) return '';
38
return this.proposal.choices
39
.filter((choice, i) => this.selected.includes(i + 1))
40
.join(', ');
0 commit comments