Fix loading empty survey questions

This commit is contained in:
Pablo Bonilla 2021-07-23 22:13:57 -06:00
parent 1f24b5de73
commit 2302a615b9
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
1 changed files with 18 additions and 16 deletions

View File

@ -58,6 +58,7 @@
</div>
<ng-container *ngIf="ePregunta.tipo">
<ng-container *ngFor="let ePreguntaOpcion of ePreguntasOpciones; let j = index; trackBy: trackId">
<ng-container *ngIf="ePreguntaOpcion[j] !== undefined">
<ng-container *ngIf="ePregunta.id == ePreguntaOpcion[j].epreguntaCerrada.id">
<div
class="ds-survey--option ds-survey--option--base ds-survey--closed-option"
@ -76,6 +77,7 @@
</div>
</ng-container>
</ng-container>
</ng-container>
<div
class="ds-survey--option ds-survey--option--add ds-survey--closed-option"
(click)="resetForm($event)"