diff options
author | Sarah Abouzainah <sabouzainah.ext@orange.com> | 2020-12-15 02:15:46 +0200 |
---|---|---|
committer | Sarah Abouzainah <sabouzainah.ext@orange.com> | 2020-12-15 02:16:39 +0200 |
commit | 981573b5b00cdb47cd9f2bbd002735ccc0c362fc (patch) | |
tree | 1ccf87524a1d63fd93dd1c49ca25c6e07195971f /cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts | |
parent | 9de0f8373c2adeded063050071f47bc6a89eff22 (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/configuration-dashboard/configuration-dashboard.component.ts')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts index e9affecc7..b3894fe94 100644 --- a/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts +++ b/cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts @@ -169,13 +169,13 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl bluePrintDetailModels => { if (bluePrintDetailModels) { const id = bluePrintDetailModels.toString().split('id')[1].split(':')[1].split('"')[1]; - this.toastService.info('package updated successfully '); + this.toastService.info('Package Updated Successfully '); this.isSaveEnabled = false; this.router.navigate(['/packages/package/' + id]); this.refreshCurrentPackage(id); } }, 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(); @@ -268,14 +268,14 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl this.packageCreationStore.clear(); this.packageCreationExtractionService.extractBlobToStore(this.currentBlob); this.isSaveEnabled = true; - this.toastService.info('enriched successfully '); + this.toastService.success('Enriched Done Successfully'); }, err => { this.handleError(err); }, () => { this.ngxService.stop(); }); }, error => { - this.toastService.error('error happened when enrich ' + error.message); + this.toastService.error('Error occured during enrichment process' + error.message); console.error('Error -' + error.message); }, () => { this.ngxService.stop(); @@ -287,7 +287,7 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl this.zipFile.generateAsync({ type: 'blob' }) .then(blob => { this.packageCreationService.deploy(blob).subscribe(response => { - this.toastService.info('deployed successfully '); + this.toastService.info('Package Deployed Successfully '); const id = response.toString().split('id')[1].split(':')[1].split('"')[1]; this.isSaveEnabled = false; this.router.navigate(['/packages/package/' + id]); @@ -335,10 +335,10 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl // server-side error errorMessage = `Error Code: ${error.status}\nMessage: ${error.message}`; } - this.toastService.error('error happened when deploying ' + errorMessage); + this.toastService.error('Error occured when deploying ' + errorMessage); console.log('Error -' + errorMessage); this.ngxService.stop(); - this.toastService.error('error happened when deploying' + error.message); + this.toastService.error('Error occured when deploying' + error.message); return throwError(errorMessage); } } |