You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by dg...@apache.org on 2020/01/21 11:16:53 UTC

[incubator-dlab] 02/02: [DLAB-1459]: Prevented stop action if notebook is in reconfiguring status

This is an automated email from the ASF dual-hosted git repository.

dgnatyshyn pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/incubator-dlab.git

commit a78a4aac0f5f7d1130e9b6032ac8b4c048d00344
Author: Dmytro Gnatyshyn <di...@ukr.net>
AuthorDate: Tue Jan 21 13:16:13 2020 +0200

    [DLAB-1459]: Prevented stop action if notebook is in reconfiguring status
---
 .../src/app/resources/resources-grid/resources-grid.component.html      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
index 7040b6b..eedd10c 100644
--- a/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
+++ b/services/self-service/src/main/resources/webapp/src/app/resources/resources-grid/resources-grid.component.html
@@ -156,7 +156,7 @@
                 && element.status !== 'terminated'
                 && element.status !== 'creating image'">
                   <li
-                    *ngIf="element.status !== 'stopped' && element.status !== 'stopping' && element.status !== 'starting' && element.status !== 'creating image'"
+                    *ngIf="element.status !== 'stopped' && element.status !== 'stopping' && element.status !== 'starting' && element.status !== 'creating image' && element.status.toLowerCase() !== 'reconfiguring'"
                     matTooltip="Unable to stop notebook because at least one computational resource is in progress"
                     matTooltipPosition="above" [matTooltipDisabled]="!isResourcesInProgress(element)">
                     <div (click)="exploratoryAction(element, 'stop')"


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@dlab.apache.org
For additional commands, e-mail: commits-help@dlab.apache.org