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 <[email protected]>
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: [email protected]
For additional commands, e-mail: [email protected]