Commit fece977f authored by Lukas Burgey's avatar Lukas Burgey

Fix when the user can submit questionnaires

parent 7c9287b1
...@@ -48,18 +48,18 @@ ...@@ -48,18 +48,18 @@
Rejected Rejected
</button> </button>
</td> </td>
<td *ngIf="(state.questionnaire | ObjKeys).length > 0 && state.state != 'not_deployed'" <td *ngIf="!state.is_pending && state.is_credential_pending">
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">
<span> <span>
<mat-progress-spinner diameter="24" mode="indeterminate"></mat-progress-spinner> <mat-progress-spinner diameter="24" mode="indeterminate"></mat-progress-spinner>
SSH Keys pending SSH Keys pending
</span> </span>
</td> </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-container>
<ng-template #noStateItem> <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