Fixed Centerelized App Onboarding Issue 40/104140/1
authorSudarshan Kumar <sudarshan.kumar@att.com>
Mon, 23 Mar 2020 08:58:30 +0000 (14:28 +0530)
committerSudarshan Kumar <sudarshan.kumar@att.com>
Mon, 23 Mar 2020 09:00:02 +0000 (14:30 +0530)
Fixed Centerelized App Onboarding Issue

Issue-ID: PORTAL-858
Change-Id: I7c43001ef8e6ba78ea47e80e79d38d903bf13ad5
Signed-off-by: Sudarshan Kumar <sudarshan.kumar@att.com>
portal-FE-os/src/app/pages/application-onboarding/application-details-dialog/application-details-dialog.component.ts

index 39d2ffd..7aad140 100644 (file)
@@ -279,6 +279,8 @@ export class ApplicationDetailsDialogComponent implements OnInit {
 
     if (this.applicationObj.nameSpace=="") {
       this.newAppModel.nameSpace = null;
+    }else{
+      this.newAppModel.nameSpace = this.applicationObj.nameSpace;
     }
 
     if(this.isEditMode){
@@ -297,7 +299,7 @@ export class ApplicationDetailsDialogComponent implements OnInit {
           console.log(error);
           if(error.status == 409){
             this.openConfirmationModal('Error', 'There was a problem updating the application changes. ' +
-            'The Application Name and URL should  be unique.  Error: ' +
+            'The Application Name and Namespace should  be unique.  Error: ' +
             error.status);
             return;
           }else if(error.status == 500){