Explorar o código

HPCC-24001 Enable readOnly for ECL Archive Viewer

Signed-off-by: Jaman Brundage <jbrundage372@gmail.com>
Jaman Brundage %!s(int64=5) %!d(string=hai) anos
pai
achega
8d1144edd6
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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);