This is an automated email from the ASF dual-hosted git repository. hshpak pushed a commit to branch feat/DATALAB-2771/add-create-image-btn-for-admin in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git
commit 7127b970dcae232a000911592b7408c31ee2ff93 Author: Hennadii_Shpak <[email protected]> AuthorDate: Tue May 24 13:35:05 2022 +0300 fixed behaviour statuses of notebook --- .../webapp/src/app/administration/management/management.component.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/management/management.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/management/management.component.ts index c3326fcc4..d8f680a02 100644 --- a/services/self-service/src/main/resources/webapp/src/app/administration/management/management.component.ts +++ b/services/self-service/src/main/resources/webapp/src/app/administration/management/management.component.ts @@ -269,7 +269,10 @@ export class ManagementComponent implements OnInit { env['isAdmin'] = true; env['userName'] = env.user; this.dialog.open(AmiCreateDialogComponent, { data: env, panelClass: 'modal-sm' }) - .afterClosed().subscribe(); + .afterClosed().subscribe( + () => this.buildGrid(), + error => console.log(error) + ); } else { this.getNotebookAction(env, action); } --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
