summaryrefslogtreecommitdiffstats
path: root/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.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/packages-dashboard/import-package/import-package.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/packages-dashboard/import-package/import-package.component.ts')
-rw-r--r--cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts
index 5797d18d5..c6c75eb9c 100644
--- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts
+++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/packages-dashboard/import-package/import-package.component.ts
@@ -115,11 +115,11 @@ export class ImportPackageComponent implements OnInit {
this.zipFile.generateAsync({type: 'blob'}).then(blob => {
this.packageCreationService.savePackage(blob).subscribe(
bluePrintDetailModels => {
- this.toastService.info('package is imported and saved successfully ');
+ this.toastService.info('Package is imported and saved successfully ');
this.router.navigate(['/packages']);
this.packagesStore.getAll();
}, error =>
- this.toastService.error('there is an error happened ' + error));
+ this.toastService.error('Errot occured ' + error));
});
});
}
@@ -134,11 +134,11 @@ export class ImportPackageComponent implements OnInit {
this.zipFile.generateAsync({type: 'blob'}).then(blob => {
this.packageCreationService.deploy(blob).subscribe(
bluePrintDetailModels => {
- this.toastService.info('package is imported and deployed successfully ');
+ this.toastService.info('Package is imported and deployed successfully ');
this.router.navigate(['/packages']);
this.packagesStore.getAll();
}, error =>
- this.toastService.error('there is an error happened ' + error));
+ this.toastService.error('Errot occured ' + error));
});
});
}