Skip to content
Snippets Groups Projects
Commit abfed73b authored by Maël QUAISSARD's avatar Maël QUAISSARD Committed by Gaëlle FOURNIER
Browse files

18982 - securistation - disable download for the warning operations


Co-authored-by: default avatarbenemart <benedicte.martinez@cea.fr>
parent ac9a6a51
No related branches found
No related tags found
No related merge requests found
...@@ -5,14 +5,18 @@ ...@@ -5,14 +5,18 @@
<div class="title"> <div class="title">
<h2>{{securisation?.id}}</h2> <h2>{{securisation?.id}}</h2>
</div> </div>
<mat-form-field class="vitamui-mat-select">
<mat-select placeholder="Selectionnez un contrat d'accès" panelclass="vitamui-mat-select" (selectionChange)="updateAccessContractId($event)"> <ng-container *ngIf="securisation.events[securisation.events.length - 1].outcome !== 'WARNING'">
<mat-option *ngFor='let accessContract of accessContracts' <mat-form-field class="vitamui-mat-select">
[value]="accessContract.identifier">{{accessContract.name}} <mat-select placeholder="Selectionnez un contrat d'accès" panelclass="vitamui-mat-select" (selectionChange)="updateAccessContractId($event)">
</mat-option> <mat-option *ngFor='let accessContract of accessContracts'
</mat-select> [value]="accessContract.identifier">{{accessContract.name}}
</mat-form-field> </mat-option>
<button mat-button class="btn btn-primary button-maring" (click)="downloadReport()" [disabled]="!accessContractId">Télécharger le rapport</button> </mat-select>
</mat-form-field>
<button mat-button class="btn btn-primary button-maring" (click)="downloadReport()"
[disabled]="!accessContractId">Télécharger le rapport</button>
</ng-container>
</div> </div>
<div class="vitamui-sidepanel-body"> <div class="vitamui-sidepanel-body">
<mat-tab-group class="preview-tab-group"> <mat-tab-group class="preview-tab-group">
......
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