This is an automated email from the ASF dual-hosted git repository. dgnatyshyn pushed a commit to branch DLAB-1633 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 1c5ca01bba93f7d38a8674c67e1b136b96046a2d Author: Dmytro Gnatyshyn <[email protected]> AuthorDate: Thu Mar 19 12:58:53 2020 +0200 [DLAB-1640]: Fixed actions requests in environment management --- .../management/management-grid/management-grid.component.ts | 1 - .../modal-dialog/confirmation-dialog/confirmation-dialog.model.ts | 4 ++-- 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/management/management-grid/management-grid.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/management/management-grid/management-grid.component.ts index 0f24b95..216d79c 100644 --- a/services/self-service/src/main/resources/webapp/src/app/administration/management/management-grid/management-grid.component.ts +++ b/services/self-service/src/main/resources/webapp/src/app/administration/management/management-grid/management-grid.component.ts @@ -148,7 +148,6 @@ export class ManagementGridComponent implements OnInit { } toggleResourceAction(environment: any, action: string, resource?): void { - console.log(environment.project); if (resource) { const resource_name = resource ? resource.computational_name : environment.name; this.dialog.open(ReconfirmationDialogComponent, { diff --git a/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.model.ts b/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.model.ts index ddc9486..1bfcd06 100644 --- a/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.model.ts +++ b/services/self-service/src/main/resources/webapp/src/app/shared/modal-dialog/confirmation-dialog/confirmation-dialog.model.ts @@ -77,13 +77,13 @@ export class ConfirmationDialogModel { private terminateExploratory(): Observable<{}> { return this.manageAction - ? this.manageEnvironmentsService.environmentManagement(this.notebook.user, this.notebook.project, 'terminate', this.notebook.name) + ? this.manageEnvironmentsService.environmentManagement(this.notebook.user, 'terminate', this.notebook.project, this.notebook.name) : this.userResourceService.suspendExploratoryEnvironment(this.notebook, 'terminate'); } private stopEdgeNode(): Observable<{}> { return this.manageAction - ? this.manageEnvironmentsService.environmentManagement(this.notebook.user, this.notebook.project, 'stop', 'edge') + ? this.manageEnvironmentsService.environmentManagement(this.notebook.user, 'stop', this.notebook.project, 'edge') : this.healthStatusService.suspendEdgeNode(); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
