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:
parent
f4c87df078
commit
024042959e
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user