Fix Bug 2296: Newly Created Ns should come first in NG-UI
- Sorted the list using created Date in descending order
- Incorrect Information in "Expires in " section of Admin user :
Changed it to N/A
- VIM Resource Overview: RAM Value should be rounded off :
Rounded off the value to 2 decimal points
- Fixed the key issue in topology
Change-Id: I634aee0b4e4540386c5108232746f56959bcc838
Signed-off-by: SANDHYA.JS <sandhya.j@tataelxsi.co.in>
diff --git a/src/app/users/user-details/UserDetailsComponent.ts b/src/app/users/user-details/UserDetailsComponent.ts
index 12c37fe..c56f43a 100644
--- a/src/app/users/user-details/UserDetailsComponent.ts
+++ b/src/app/users/user-details/UserDetailsComponent.ts
@@ -252,8 +252,8 @@
projects: userData.projectListName,
identifier: userData._id,
user_status: userData._admin.user_status,
- account_expire_time: this.sharedService.convertEpochTime(!isNullOrUndefined(userData._admin) ?
- userData._admin.account_expire_time : null)
+ account_expire_time: (!isNullOrUndefined(userData._admin) && !isNullOrUndefined(userData._admin.account_expire_time)) ? this.sharedService.convertEpochTime(
+ userData._admin.account_expire_time) : 'N/A'
};
this.userData.push(userDataObj);
}