瀏覽代碼

HPCC-24001 Enable readOnly for ECL Archive Viewer

Signed-off-by: Jaman Brundage <jbrundage372@gmail.com>
Jaman Brundage 5 年之前
父節點
當前提交
8d1144edd6
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);