This is an automated email from the ASF dual-hosted git repository. ankovalyshyn pushed a commit to branch DLAB-1044 in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
commit de14f04028b7cd419c468cbe6bb97d231f584173 Author: Andriana Kovalyshyn <[email protected]> AuthorDate: Thu Sep 5 16:40:27 2019 +0300 [DLAB-984]: added error message in case of project starting issues --- .../webapp/src/app/administration/project/project.component.ts | 3 ++- .../src/app/resources/resources-grid/resources-grid.component.scss | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts index a8976c3..18d892e 100644 --- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts +++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project.component.ts @@ -107,7 +107,8 @@ export class ProjectComponent implements OnInit, OnDestroy { } private toggleStatusRequest(data, action) { - this.projectService.toggleProjectStatus(data, action).subscribe(res => this.refreshGrid()); + this.projectService.toggleProjectStatus(data, action).subscribe(() => this.refreshGrid(), + error => this.toastr.error(error.message, 'Oops!')); } private getEnvironmentHealthStatus() { diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss index 2d8edc2..9d1aae2 100644 --- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss +++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.scss @@ -209,7 +209,7 @@ tr.element-row:not(.expanded-row):active { } .filter-row .actions { - text-align: center; + text-align: right; } .filter-row .actions button { --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
