diff --git a/web-app/src/screens/Console/Account/AccountUtils.tsx b/web-app/src/screens/Console/Account/AccountUtils.tsx index d938a414f6..5f93c108b2 100644 --- a/web-app/src/screens/Console/Account/AccountUtils.tsx +++ b/web-app/src/screens/Console/Account/AccountUtils.tsx @@ -23,14 +23,15 @@ export const ACCOUNT_TABLE_COLUMNS = [ label: "Expiry", elementKey: "expiration", renderFunction: (expTime: string) => { - if (expTime) { + if (expTime !== "1970-01-01T00:00:00Z") { const fmtDate = DateTime.fromISO(expTime) .toUTC() .toFormat("y/M/d hh:mm:ss z"); return {fmtDate}; + } else { + return no-expiry; } - return ""; }, }, {