From 1ce1f9e1f2e8f47ed2c1a2606ad5d953aeffd2f6 Mon Sep 17 00:00:00 2001
From: Alex ORLUC <alex.orluc@maarch.org>
Date: Fri, 17 Jul 2020 12:48:10 +0000
Subject: [PATCH] FIX #13983 TIME 0:10 fix static mode

(cherry picked from commit 24bf46afb1cc9cb8a1b17b27227d6822761e805e)
---
 .../template-file-editor-modal.component.ts                     | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/frontend/app/administration/template/templateFileEditorModal/template-file-editor-modal.component.ts b/src/frontend/app/administration/template/templateFileEditorModal/template-file-editor-modal.component.ts
index 04cd3c704bd..59fb909d0e6 100644
--- a/src/frontend/app/administration/template/templateFileEditorModal/template-file-editor-modal.component.ts
+++ b/src/frontend/app/administration/template/templateFileEditorModal/template-file-editor-modal.component.ts
@@ -19,7 +19,7 @@ export class TemplateFileEditorModalComponent implements OnInit {
     editorType: any = null;
     documentIsModified: boolean = false;
 
-    @ViewChild('onlyofficeViewer', { static: true }) onlyofficeViewer: EcplOnlyofficeViewerComponent;
+    @ViewChild('onlyofficeViewer', { static: false }) onlyofficeViewer: EcplOnlyofficeViewerComponent;
     @ViewChild('collaboraOnlineViewer', { static: false }) collaboraOnlineViewer: CollaboraOnlineViewerComponent;
 
     constructor(public dialogRef: MatDialogRef<TemplateFileEditorModalComponent>, @Inject(MAT_DIALOG_DATA) public data: any) { }
-- 
GitLab