This is an automated email from the ASF dual-hosted git repository.
dgnatyshyn pushed a commit to branch DLAB-1357
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git
The following commit(s) were added to refs/heads/DLAB-1357 by this push:
new c01ee33 small fixes
c01ee33 is described below
commit c01ee3393fdd5b6fe842ca9d2185b0852dca8f16
Author: Dmytro Gnatyshyn <[email protected]>
AuthorDate: Fri Jan 31 17:07:35 2020 +0200
small fixes
---
.../app/administration/legion-deployment/legion-deployment.component.ts | 1 +
.../legion-deployment/legion-list/legion-list.component.html | 2 +-
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git
a/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-deployment.component.ts
b/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-deployment.component.ts
index 60c0329..f7474bc 100644
---
a/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-deployment.component.ts
+++
b/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-deployment.component.ts
@@ -39,6 +39,7 @@ export class LegionDeploymentComponent implements OnInit {
(value) => {
if (value) this.legionClastersList = value;
}));
+ this.refreshGrid();
}
public createLegionCluster(): void {
diff --git
a/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-list/legion-list.component.html
b/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-list/legion-list.component.html
index aaa4f2a..43aa274 100644
---
a/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-list/legion-list.component.html
+++
b/services/self-service/src/main/resources/webapp/src/app/administration/legion-deployment/legion-list/legion-list.component.html
@@ -37,7 +37,7 @@
<ng-container matColumnDef="actions">
<th mat-header-cell *matHeaderCellDef class="legion-actions"></th>
<td mat-cell *matCellDef="let element" class="settings">
- <span *ngIf="element && element.name" #settings
(click)="actions.toggle($event, settings)" class="actions"
[ngClass]="{'disabled': element.status === 'TERMINATING' || element.status ===
'TERMINATED'}"></span>
+ <span *ngIf="element && element.name" #settings
(click)="actions.toggle($event, settings)" class="actions"
[ngClass]="{'disabled': element.status !== 'RUNNING' && element.status !==
'STOPPED' }"></span>
<bubble-up #actions class="list-menu" position="bottom-left"
alternative="top-left">
<ul class="list-unstyled">
<div class="active-items"></div>
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]