From 178dbc0bcb8b3b685a9f1c45eb4d21d062c8ee86 Mon Sep 17 00:00:00 2001 From: Ahmedeldeeb50 Date: Mon, 5 Oct 2020 10:23:48 +0200 Subject: in Jinja Template support the parsing of parent variable in dictionary mapping file Issue-ID: CCSDK-2866 Signed-off-by: Ahmedeldeeb50 Change-Id: Ib3d4f70cd1728e34b8db362dcb1435ea5386cade --- .../templ-mapp-creation/templ-mapp-creation.component.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.ts') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.ts index 8c4eab8f5..8c1279fbe 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/template-mapping/templ-mapp-creation/templ-mapp-creation.component.ts @@ -1,4 +1,4 @@ -import {Component, EventEmitter, OnDestroy, OnInit, Output, ViewChild } from '@angular/core'; +import { Component, EventEmitter, OnDestroy, OnInit, Output, ViewChild } from '@angular/core'; import { FileSystemFileEntry, NgxFileDropEntry } from 'ngx-file-drop'; import { PackageCreationStore } from '../../package-creation.store'; import { TemplateInfo, TemplateStore } from '../../template.store'; @@ -290,7 +290,7 @@ export class TemplMappCreationComponent implements OnInit, OnDestroy { const parser = new XmlParser(); this.variables = parser.getVariables(fileReader.result.toString()); } - console.log(this.variables); + console.log('variables = ' + this.variables); this.getMappingTableFromTemplate(null); }; @@ -373,7 +373,7 @@ export class TemplMappCreationComponent implements OnInit, OnDestroy { e.preventDefault(); } this.variables = this.getTemplateVariable(this.templateFileContent); - console.log(this.variables); + console.log('variables = ' + this.variables); if (this.variables && this.variables.length > 0) { console.log('base'); this.packageCreationService.getTemplateAndMapping(this.variables).subscribe(res => { -- cgit 1.2.3-korg