From 59dde868f52d781194aae5e845a8cbceb9bd5381 Mon Sep 17 00:00:00 2001
From: Damien <damien.burel@maarch.org>
Date: Fri, 6 Nov 2020 11:54:42 +0100
Subject: [PATCH] FEAT #15350 TIME 0:25 Hide binding and frozen if document not
 loaded

---
 src/frontend/app/process/process.component.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/frontend/app/process/process.component.html b/src/frontend/app/process/process.component.html
index 87e40e934c8..0de1f8eb286 100644
--- a/src/frontend/app/process/process.component.html
+++ b/src/frontend/app/process/process.component.html
@@ -1,6 +1,6 @@
 <mat-sidenav-container class="maarch-container">
     <ng-template #adminMenuTemplate>
-        <div *ngIf="resourceFreezed || resourceBinded !== null" class="alert-message alert-message-danger"
+        <div *ngIf="(resourceFreezed || resourceBinded !== null) && !loading" class="alert-message alert-message-danger"
             style="min-width: 100%; margin: 10px 0;">
             <div *ngIf="resourceFreezed" style="display: flex;align-items: center;">
                 <i class="fas fa-snowflake" style="width: 25px;text-align: center;"></i>&nbsp;<span [innerHTML]="'lang.retentionRuleFrozenAlt' | translate"></span>
@@ -410,4 +410,4 @@
         class="panel-right" style="overflow-x:hidden;" [class.docView]="!filtersListService.filterMode"
         [ngStyle]="{'width': appService.getViewMode() ? '80%' : '30%'}" autoFocus="false">
     </mat-sidenav>
-</mat-sidenav-container>
\ No newline at end of file
+</mat-sidenav-container>
-- 
GitLab