Commit fece977f authored by Lukas Burgey's avatar Lukas Burgey

Fix when the user can submit questionnaires

parent 7c9287b1
......@@ -48,18 +48,18 @@
Rejected
</button>
</td>
<td *ngIf="(state.questionnaire | ObjKeys).length > 0 && state.state != 'not_deployed'"
matTooltip="Change previously submitted answers">
<button (click)="dialog.openQuestionnaire(state$)" mat-icon-button>
<mat-icon>edit</mat-icon>
</button>
</td>
<td *ngIf="!state.is_pending && state.is_credential_pending" class="spaced">
<td *ngIf="!state.is_pending && state.is_credential_pending">
<span>
<mat-progress-spinner diameter="24" mode="indeterminate"></mat-progress-spinner>
SSH Keys pending
</span>
</td>
<td *ngIf="(state.questionnaire | ObjKeys).length > 0 && state.state == 'deployed'"
matTooltip="Change previously submitted answers">
<button (click)="dialog.openQuestionnaire(state$)" mat-icon-button>
<mat-icon>edit</mat-icon>
</button>
</td>
</ng-container>
<ng-template #noStateItem>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment