Remove edit survey publish survey button

This commit is contained in:
Pablo Bonilla 2021-07-25 14:58:57 -06:00
parent 0509b735ce
commit 577ae0e7ee
No known key found for this signature in database
GPG Key ID: 46877262B8DE47E2
1 changed files with 2 additions and 2 deletions

View File

@ -20,12 +20,12 @@
> >
<fa-icon icon="sync" [icon]="faPlus"></fa-icon>&nbsp;&nbsp;<span>Crear pregunta</span> <fa-icon icon="sync" [icon]="faPlus"></fa-icon>&nbsp;&nbsp;<span>Crear pregunta</span>
</button> </button>
<ng-container *ngIf="encuesta!.estado === 'DRAFT'"> <!-- <ng-container *ngIf="encuesta!.estado === 'DRAFT'">
<button type="button" class="ds-btn ds-btn--primary" (click)="publishSurvey()">Publicar encuesta</button> <button type="button" class="ds-btn ds-btn--primary" (click)="publishSurvey()">Publicar encuesta</button>
</ng-container> </ng-container>
<ng-container *ngIf="encuesta!.estado === 'ACTIVE'"> <ng-container *ngIf="encuesta!.estado === 'ACTIVE'">
<button type="button" class="ds-btn ds-btn--danger" (click)="finishSurvey()">Finalizar encuesta</button> <button type="button" class="ds-btn ds-btn--danger" (click)="finishSurvey()">Finalizar encuesta</button>
</ng-container> </ng-container> -->
</div> </div>
</h2> </h2>