Commit 606b2531 authored by Maxime MAKHLOUFI's avatar Maxime MAKHLOUFI Committed by Gaëlle FOURNIER
Browse files

18984 - Securisation - Disable verification buttons for operations with 'WARNING' status


Co-authored-by: default avatarbenemart <benedicte.martinez@cea.fr>
parent d3b175a7
<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'
......@@ -11,4 +12,4 @@
<vitamui-common-collapse *ngIf="display && events && events.length > 0" collapseTitle="Etapes de vérification" i18n-collapseTitle="@@historySectionTitleUnit">
<vitamui-common-history-events [events]="events" ></vitamui-common-history-events>
</vitamui-common-collapse>
</ng-container>
......@@ -49,6 +49,7 @@ import {SecurisationService} from '../../securisation.service';
export class SecurisationCheckTabComponent implements OnChanges, OnInit {
@Input() id: string;
@Input() securisation: Event;
events: Event[] = [];
display = false;
......
......@@ -25,7 +25,7 @@
</mat-tab>
<mat-tab label="Vérification" i18n-label="History tab@@userPreviewTabVerification">
<app-securisation-check-tab [id]="securisation?.id"></app-securisation-check-tab>
<app-securisation-check-tab [id]="securisation?.id" [securisation]="securisation"></app-securisation-check-tab>
</mat-tab>
<mat-tab label="Historique" i18n-label="History tab@@userPreviewTabHistory">
......
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