From f8e6c93f62c3effff6d6601992efc1e83f41e676 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Thu, 3 Sep 2020 15:57:22 +0200
Subject: [PATCH] FIX #13998 TIME 0:10 fix js error

---
 src/frontend/app/indexation/indexation.component.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/indexation/indexation.component.html b/src/frontend/app/indexation/indexation.component.html
index ef34fc637aa..bd916124b20 100644
--- a/src/frontend/app/indexation/indexation.component.html
+++ b/src/frontend/app/indexation/indexation.component.html
@@ -67,7 +67,7 @@
         </div>
         <div class="document-container" [class.fullContainer]="appService.getViewMode()">
             <div class="content">
-                <app-document-viewer *ngIf="this.currentIndexingModel.category !== 'registeredMail'" #appDocumentViewer [editMode]="true" [tmpFilename]="tmpFilename"
+                <app-document-viewer [style.display]="this.currentIndexingModel.category !== 'registeredMail' ? 'block' : 'none'" #appDocumentViewer [editMode]="true" [tmpFilename]="tmpFilename"
                     (triggerEvent)="refreshDatas()" style="height:100%;width:100%;">
                 </app-document-viewer>
                 <div *ngIf="this.currentIndexingModel.category === 'registeredMail'" style="font-size: 120px;opacity: 0.4;">
-- 
GitLab