From 8a93d13a67fd7e6666d8a3b05c9c674c5f18cd9a Mon Sep 17 00:00:00 2001
From: naji <naji@cines.fr>
Date: Thu, 17 Jun 2021 13:06:27 +0200
Subject: [PATCH] fix: button add ua juste on PA

---
 .../app/profile/edit-profile/file-tree/file-tree.component.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree/file-tree.component.html b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree/file-tree.component.html
index 0f6a0d116..4fa28973f 100644
--- a/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree/file-tree.component.html
+++ b/ui/ui-frontend/projects/pastis/src/app/profile/edit-profile/file-tree/file-tree.component.html
@@ -4,7 +4,7 @@
   <!-- Nested tree node-->
 
   <mat-nested-tree-node *matTreeNodeDef="let node;when:hasNestedChild">
-    <div *ngIf="node.name === rootElementName && ((activeTabIndex === 3 && !puaMode) || (activeTabIndex === 1 && puaMode)) " class="pastis-btn-container-add-ua">
+    <div *ngIf="node.name === rootElementName && (activeTabIndex === 3 && !puaMode) " class="pastis-btn-container-add-ua">
           <button class="btn primary" (click)= addArchiveUnit(node) >
             AJOUTER UNE UA
           </button>
-- 
GitLab