1
0
mirror of https://github.com/NicolasConstant/sengi synced 2024-12-22 13:54:10 +01:00

fix poll exception on creation

This commit is contained in:
Nicolas Constant 2023-08-19 21:33:43 -04:00
parent f4c87df078
commit 024042959e
No known key found for this signature in database
GPG Key ID: 1E9F677FB01A5688

View File

@ -79,6 +79,8 @@ export class PollEditorComponent implements OnInit {
}
private loadPollParameters(poll: Poll) {
if(!this.oldPoll) return;
const isMulti = poll.multiple;
this.entries.length = 0;