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
......@@ -5,14 +5,18 @@
<div class="title">
<h2>{{securisation?.id}}</h2>
</div>
<mat-form-field class="vitamui-mat-select">
<mat-select placeholder="Selectionnez un contrat d'accès" panelclass="vitamui-mat-select" (selectionChange)="updateAccessContractId($event)">
<mat-option *ngFor='let accessContract of accessContracts'
[value]="accessContract.identifier">{{accessContract.name}}
</mat-option>
</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 *ngIf="securisation.events[securisation.events.length - 1].outcome !== 'WARNING'">
<mat-form-field class="vitamui-mat-select">
<mat-select placeholder="Selectionnez un contrat d'accès" panelclass="vitamui-mat-select" (selectionChange)="updateAccessContractId($event)">
<mat-option *ngFor='let accessContract of accessContracts'
[value]="accessContract.identifier">{{accessContract.name}}
</mat-option>
</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 class="vitamui-sidepanel-body">
<mat-tab-group class="preview-tab-group">
......
Supports Markdown
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