You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/09/05 13:40:58 UTC
[incubator-dlab] 01/02: [DLAB-984]: added error message in case of
project starting issues
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 <An...@epam.com>
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: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org