Add draft and active validation for the delete question button

This commit is contained in:
Pablo Bonilla 2021-07-22 21:49:13 -06:00
parent d2fd23675a
commit 679a238c13
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
1 changed files with 1 additions and 0 deletions

View File

@ -39,6 +39,7 @@
<div class="ds-survey--titulo"> <div class="ds-survey--titulo">
<span class="ds-survey--titulo--name">{{ i + 1 }}. {{ ePregunta.nombre }}</span> <span class="ds-survey--titulo--name">{{ i + 1 }}. {{ ePregunta.nombre }}</span>
<fa-icon <fa-icon
*ngIf="encuesta!.estado === 'DRAFT'"
class="ds-survey--titulo--icon" class="ds-survey--titulo--icon"
[icon]="faTimes" [icon]="faTimes"
(click)="deleteQuestion($event)" (click)="deleteQuestion($event)"