You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by hs...@apache.org on 2022/07/08 09:14:48 UTC

[incubator-datalab] branch fix/DATALAB-2842/button-visibility-of-edge-node-recreation created (now 6ddaa987e)

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

hshpak pushed a change to branch fix/DATALAB-2842/button-visibility-of-edge-node-recreation
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


      at 6ddaa987e fixed modal window

This branch includes the following new commits:

     new 6ddaa987e fixed modal window

The 1 revisions listed above as "new" are entirely new to this
repository and will be described in separate emails.  The revisions
listed as "add" were already present in the repository and have only
been added to this reference.



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


[incubator-datalab] 01/01: fixed modal window

Posted by hs...@apache.org.
This is an automated email from the ASF dual-hosted git repository.

hshpak pushed a commit to branch fix/DATALAB-2842/button-visibility-of-edge-node-recreation
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git

commit 6ddaa987e59afe0465d060133f44861b6b720054
Author: Hennadii_Shpak <bo...@gmail.com>
AuthorDate: Fri Jul 8 12:14:37 2022 +0300

    fixed modal window
---
 .../app/administration/project/project-list/project-list.component.ts  | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.ts
index 85c4e80ba..059758be3 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-list/project-list.component.ts
@@ -125,7 +125,8 @@ export class ProjectListComponent implements OnInit, OnDestroy {
         return endpoint.status === EndpointStatus.running || endpoint.status === EndpointStatus.stopped;
       }
       if (action === 'recreate') {
-        return endpoint.status === EndpointStatus.terminated || endpoint.status === EndpointStatus.failed;
+        const edgeNodeStatus = endpoint.status === EndpointStatus.terminated || endpoint.status === EndpointStatus.failed;
+        return edgeNodeStatus && endpoint.endpointStatus === 'ACTIVE';
       }
     });
   }


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