You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@dlab.apache.org by an...@apache.org on 2019/12/20 14:09:52 UTC

[incubator-dlab] branch DLAB-1410 updated: [DLAB-1112]: edit sharedImageEnabled value on edit

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

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


The following commit(s) were added to refs/heads/DLAB-1410 by this push:
     new adbefdc  [DLAB-1112]: edit sharedImageEnabled value on edit
adbefdc is described below

commit adbefdc6b5b1f420999e7cc01149a32bd388b2d7
Author: Andriana Kovalyshyn <An...@epam.com>
AuthorDate: Fri Dec 20 16:10:28 2019 +0200

    [DLAB-1112]: edit sharedImageEnabled value on edit
---
 .../app/administration/project/project-form/project-form.component.ts | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.ts b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.ts
index c22988a..b89a51f 100644
--- a/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.ts
+++ b/services/self-service/src/main/resources/webapp/src/app/administration/project/project-form/project-form.component.ts
@@ -153,7 +153,7 @@ export class ProjectFormComponent implements OnInit {
     });
   }
 
-  public editSpecificProject(item: Project) {
+  public editSpecificProject(item) {
     let endpoints = item.endpoints.map((item: any) => item.name);
 
     this.projectForm = this._fb.group({
@@ -162,7 +162,7 @@ export class ProjectFormComponent implements OnInit {
       'endpoints': [endpoints],
       'tag': [item.tag, Validators.required],
       'groups': [item.groups, Validators.required],
-      'shared_image_enabled': [item.shared_image_enabled, Validators.required]
+      'shared_image_enabled': [item.sharedImageEnabled, Validators.required]
     });
   }
 


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