diff options
author | ShaabanEltanany <shaaban.eltanany.ext@orange.com> | 2020-08-30 14:03:53 +0200 |
---|---|---|
committer | ShaabanEltanany <shaaban.eltanany.ext@orange.com> | 2020-08-30 14:03:53 +0200 |
commit | ac64cf38079f88ceb8c172b9e25152955dbe4366 (patch) | |
tree | 5c84dbe1784d5ed3674636a0fe5d7e569b59daa7 /cds-ui/designer-client/src/app/modules/feature-modules | |
parent | 65a445a2afd3ca2d1022d2e7c7fc71ec12698e87 (diff) |
fixing edit behavior
Issue-ID: CCSDK-2336
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: Ib344626d3f07cad91eb9a32cc660aad0e34f5191
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts index 58307005c..f739ceb2e 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts @@ -69,7 +69,9 @@ export class DesignerCreationMode extends PackageCreationModes { vlbDefinition.metadata = metadata; const files: Import[] = []; cbaPackage.definitions.imports.forEach((valueOfFile, key) => { - files.push({file: key}); + if (!key.includes(cbaPackage.metaData.name)) { + files.push({file: key}); + } }); console.log(vlbDefinition); vlbDefinition.imports = files; |