Add draft and active validation for the delete question button
This commit is contained in:
parent
d2fd23675a
commit
679a238c13
|
@ -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)"
|
||||||
|
|
Loading…
Reference in New Issue