mirror of
https://github.com/NicolasConstant/sengi
synced 2025-01-03 12:09:18 +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) {
|
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
Block a user