diff options
Diffstat (limited to 'cds-ui/designer-client/src/app/modules/feature-modules')
-rw-r--r-- | cds-ui/designer-client/src/app/modules/feature-modules/packages/configuration-dashboard/configuration-dashboard.component.ts | 7 |
1 files changed, 4 insertions, 3 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 09434bc17..8639b1550 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 @@ -312,9 +312,10 @@ export class ConfigurationDashboardComponent extends ComponentCanDeactivate impl this.create(); this.zipFile.generateAsync({type: 'blob'}) .then(blob => { - this.packageCreationService.enrichPackage(blob).subscribe(response => { - console.log('success'); - console.log(response); + this.packageCreationService.deploy(blob).subscribe(response => { + this.toastService.info('deployed successfully '); + const id = response.toString().split('id')[1].split(':')[1].split('"')[1]; + this.router.navigate(['/packages/package/' + id]); }); }, error => { this.toastService.error('error happened when deploying ' + error.message); |