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>2021-01-12 14:58:54 +0200
committerKAPIL SINGAL <ks220y@att.com>2021-01-13 14:17:55 +0000
commitcae13f9196921c1b854d2f199db4dfbdd5868a62 (patch)
tree18c4e393b2b162fd85e45afb6209f7924e0bdf78 /cds-ui/designer-client/src/app/modules/feature-modules/packages/designer/designer.component.ts
parent462f304e905e48ef068ddd0e23f9253568c4012c (diff)
Apply style modifications to done development tasks
Issue-ID: CCSDK-2525 Signed-off-by: Sarah Abouzainah <sabouzainah.ext@orange.com> Change-Id: I7c676a1fe469d91df7b4f185a1b1e52c5c91c17b
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.ts8
1 files changed, 4 insertions, 4 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 cc7de5f41..652d235a0 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
@@ -535,12 +535,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 updated successfully');
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 during editing process' + error.message);
console.log('Error -' + error.message);
}, () => {
this.ngxService.stop();
@@ -591,11 +591,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 + 'downloaded successfully');
this.ngxService.stop();
});
}