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 | |
parent | 65a445a2afd3ca2d1022d2e7c7fc71ec12698e87 (diff) |
fixing edit behavior
Issue-ID: CCSDK-2336
Signed-off-by: ShaabanEltanany <shaaban.eltanany.ext@orange.com>
Change-Id: Ib344626d3f07cad91eb9a32cc660aad0e34f5191
-rw-r--r-- | cds-ui/designer-client/proxy.conf.json | 6 | ||||
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/package-creation/creationModes/DesignerCreationMode.ts | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/cds-ui/designer-client/proxy.conf.json b/cds-ui/designer-client/proxy.conf.json index 1f63613ac..6b81a884a 100644 --- a/cds-ui/designer-client/proxy.conf.json +++ b/cds-ui/designer-client/proxy.conf.json @@ -1,14 +1,12 @@ { "/controllerblueprint/*": { - "target": "localhost", - // "target": "https://41.128.168.198:3000", + "target": "https://localhost:3000", "secure": false, "logLevel": "debug", "changeOrigin": true }, "/resourcedictionary/*": { - "target": "localhost", - // "target": "https://41.128.168.198:3000", + "target": "https://localhost:3000", "secure": false, "logLevel": "debug", "changeOrigin": true 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; |