aboutsummaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
diff options
context:
space:
mode:
authorSarah Abouzainah <sabouzainah.ext@orange.com>2020-12-15 02:15:46 +0200
committerSarah Abouzainah <sabouzainah.ext@orange.com>2020-12-15 02:16:39 +0200
commit981573b5b00cdb47cd9f2bbd002735ccc0c362fc (patch)
tree1ccf87524a1d63fd93dd1c49ca25c6e07195971f /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
parent9de0f8373c2adeded063050071f47bc6a89eff22 (diff)
Add CDS version and apply minor css style changes
Issue-ID: CCSDK-2292 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: Ie06a5d6fa3e0e52aad50ef5ce501b324f39ab2b1
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts10
1 files changed, 5 insertions, 5 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
index 0c70a497b..0f6e38c38 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
@@ -510,7 +510,7 @@ export class DesignerComponent implements OnInit, OnDestroy {
this.ngxService.stop();
});
}, error => {
- this.toastService.error(error.mesasge, 'error happened ');
+ this.toastService.error(error.mesasge, 'Error occurs during enrichment process');
console.error('Error -' + error.message);
}, () => {
this.ngxService.stop();
@@ -532,12 +532,12 @@ export class DesignerComponent implements OnInit, OnDestroy {
.then(blob => {
this.packageCreationService.savePackage(blob).subscribe(
bluePrintDetailModels => {
- this.toastService.info('success updating the package');
+ this.toastService.success('Package is successfully updated ');
const id = bluePrintDetailModels.toString().split('id')[1].split(':')[1].split('"')[1];
this.router.navigate(['/packages/designer/' + id]);
console.log('success');
}, error => {
- this.toastService.error('error happened when editing ' + error.message);
+ this.toastService.error('Error occured when editing ' + error.message);
console.log('Error -' + error.message);
}, () => {
this.ngxService.stop();
@@ -583,11 +583,11 @@ export class DesignerComponent implements OnInit, OnDestroy {
saveAs(blob, this.viewedPackage.artifactName + '-' + this.viewedPackage.artifactVersion + '-CBA.zip');
}, err => {
- this.toastService.error('package ' + this.viewedPackage.artifactName + 'has error when downloading' +
+ this.toastService.error('Package ' + this.viewedPackage.artifactName + 'has error when downloading' +
err.message);
this.ngxService.stop();
}, () => {
- this.toastService.success('package ' + this.viewedPackage.artifactName + 'downloaded successfully');
+ this.toastService.success('Package ' + this.viewedPackage.artifactName + 'has been downloaded successfully');
this.ngxService.stop();
});
}