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) {
|
private loadPollParameters(poll: Poll) {
|
||||||
|
if(!this.oldPoll) return;
|
||||||
|
|
||||||
const isMulti = poll.multiple;
|
const isMulti = poll.multiple;
|
||||||
|
|
||||||
this.entries.length = 0;
|
this.entries.length = 0;
|
||||||
|
|
Loading…
Reference in New Issue