From 449ca800aa347486381e4b2b89989fbc3b78da1c Mon Sep 17 00:00:00 2001 From: Ahmedeldeeb50 Date: Wed, 30 Sep 2020 14:02:11 +0200 Subject: extractor varaibles from template with import or copy&paste file content add velocity column to mapping table Issue-ID: CCSDK-2795 Signed-off-by: Ahmedeldeeb50 Change-Id: I2835ab9116f884a40152ec55ea6fb8543e30ba78 --- .../packages/package-creation/mapping-models/mappingAdapter.model.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models') diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/mappingAdapter.model.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/mappingAdapter.model.ts index b4de578b9..6d980190e 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/mappingAdapter.model.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/mapping-models/mappingAdapter.model.ts @@ -10,10 +10,11 @@ export class MappingAdapter { private dependanciesSource: Map) { } ToMapping(): Mapping { + // console.log(this.resourceDictionary.definition.property); const mapping = new Mapping(); mapping.name = this.resourceDictionary.name; mapping.dictionaryName = this.resourceDictionary.name; - mapping.property = this.resourceDictionary.definition.property; + mapping.property = Object.assign({}, this.resourceDictionary.definition.property); mapping.inputParam = false; mapping.dictionarySource = this.dependanciesSource.get(mapping.name); if (this.dependancies.get(mapping.name)) { -- cgit 1.2.3-korg