You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@datalab.apache.org by yt...@apache.org on 2021/07/29 14:41:16 UTC

[incubator-datalab] branch DATALAB-2195 updated: [DATALAB-2195] added new parameter for edge node

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

ytykhun pushed a commit to branch DATALAB-2195
in repository https://gitbox.apache.org/repos/asf/incubator-datalab.git


The following commit(s) were added to refs/heads/DATALAB-2195 by this push:
     new 4c415e5  [DATALAB-2195] added new parameter for edge node
4c415e5 is described below

commit 4c415e504de5133357deb5d2082cb6ada7b88647
Author: Yurii Tykhun <ty...@gmail.com>
AuthorDate: Thu Jul 29 17:40:53 2021 +0300

    [DATALAB-2195] added new parameter for edge node
---
 .../webapp/src/app/administration/project/project.component.ts      | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

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 2e28831..a646ebb 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
@@ -118,7 +118,11 @@ export class ProjectComponent implements OnInit, OnDestroy {
   }
 
   public toggleStatus($event) {
-    const data = { 'project_name': $event.project.name, endpoint: $event.endpoint.map(endpoint => endpoint.name)};
+    const data = { 
+      'project_name': $event.project.name, 
+      endpoint: $event.endpoint.map(endpoint => endpoint.name),
+      'edge_status': $event.endpoint.map(endpoint => endpoint.status)[0]
+    };
     this.toggleStatusRequest(data, $event.action, $event.oneEdge);
   }
 

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