This is an automated email from the ASF dual-hosted git repository. ankovalyshyn pushed a commit to branch DLAB-1043 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit 741f216d73bd1fb46e74801536bdb622a3ccdd03 Author: Andriana Kovalyshyn <[email protected]> AuthorDate: Thu Sep 5 14:51:53 2019 +0300 [DLAB-1043]: added error message during cluster creation in case of quota exceeding --- .../computational-resource-create-dialog.component.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts index 4749232..852d0a6 100644 --- a/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts +++ b/services/self-service/src/main/resources/webapp/src/app/resources/computational/computational-resource-create-dialog/computational-resource-create-dialog.component.ts @@ -133,7 +133,7 @@ export class ComputationalResourceCreateDialogComponent implements OnInit { this.model.createComputationalResource(data, this.selectedImage, this.notebook_instance, this.spotInstance) .subscribe((response: any) => { if (response.status === HTTP_STATUS_CODES.OK) this.dialogRef.close(); - }); + }, error => this.toastr.error(error.message, 'Oops!')); } private initFormModel(): void { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
