From 8932db42a5cb356df9c9875d94e1b2b2aa1fc175 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Wed, 25 Mar 2020 14:40:19 +0100
Subject: [PATCH] FEAT #13581 TIME 0:05 disable remove pj

---
 .../attachment-create/attachment-create.component.html          | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/attachments/attachment-create/attachment-create.component.html b/src/frontend/app/attachments/attachment-create/attachment-create.component.html
index d5abba9deca..f05c2519c9c 100644
--- a/src/frontend/app/attachments/attachment-create/attachment-create.component.html
+++ b/src/frontend/app/attachments/attachment-create/attachment-create.component.html
@@ -17,7 +17,7 @@
             <mat-tab *ngFor="let attachment of attachments; let i=index" [disabled]="isDocLoading()">
                 <ng-template mat-tab-label>
                     <span [class.complete]="isPjValid(i)">{{lang.attachmentShort}} n°{{i+1}}&nbsp;<i *ngIf="isPjValid(i)"
-                            class="fa fa-check"></i><button mat-icon-button *ngIf="attachments.length > 1" color="warn"
+                            class="fa fa-check"></i><button mat-icon-button *ngIf="attachments.length > 1" [disabled]="isDocLoading()" color="warn"
                             [title]="lang.delAttachment" (click)="$event.stopPropagation();removePj(i)">
                             <mat-icon class="fa fa-minus"></mat-icon>
                         </button></span>
-- 
GitLab