lpa portal view
This commit is contained in:
@@ -204,9 +204,11 @@ const CaseSummary = (props) => {
|
||||
|
||||
let showDetails = typeof detailsObj != "undefined" ? true : false;
|
||||
|
||||
var timestamp = Date.parse(
|
||||
detailsObj.pinswg_representation_period_end_date
|
||||
);
|
||||
var timestamp = showDetails
|
||||
? detailsObj.hasOwnProperty("pinswg_representation_period_end_date")
|
||||
? Date.parse(detailsObj.pinswg_representation_period_end_date)
|
||||
: "n/a"
|
||||
: "n/a";
|
||||
|
||||
if (isNaN(timestamp) == false) {
|
||||
var d = new Date(timestamp);
|
||||
|
||||
Reference in New Issue
Block a user