Browse Source

HPCC-24001 Enable readOnly for ECL Archive Viewer

Signed-off-by: Jaman Brundage <jbrundage372@gmail.com>
Jaman Brundage 5 years ago
parent
commit
8d1144edd6
1 changed files with 1 additions and 1 deletions
  1. 1 1
      esp/src/src/ECLArchiveWidget.ts

+ 1 - 1
esp/src/src/ECLArchiveWidget.ts

@@ -86,7 +86,7 @@ export class ECLArchiveWidget {
             .textFileIcon("fa fa-file-code-o")
             .omitRoot(true)
             ;
-        this.editor = new ECLEditor();
+        this.editor = new ECLEditor().readOnly(true);
         this.archiveViewer = new SplitPanel("horizontal");
 
         const wu = Workunit.attach({ baseUrl: "" }, params.Wuid);