diff options
Diffstat (limited to 'cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts')
-rw-r--r-- | cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts index 7203dc8b3..e48177d0a 100644 --- a/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts +++ b/cds-ui/client/src/app/feature-modules/blueprint/modify-template/editor/editor.component.ts @@ -82,6 +82,7 @@ export class EditorComponent implements OnInit { fileExtension: string; mode: string; private zipFile: JSZip = new JSZip(); + activeNode: any; private transformer = (node: Node, level: number) => { return { @@ -143,7 +144,7 @@ export class EditorComponent implements OnInit { blueprint.push(this.blueprintdata[key]); } } - this.text = JSON.stringify(this.blueprintdata, null, '\t'); + // this.text = JSON.stringify(this.blueprintdata, null, '\t'); // this.editor.getEditor().getSession().setMode("ace/mode/json"); this.editor.getEditor().getSession().setTabSize(2); this.editor.getEditor().getSession().setUseWrapMode(true); |