We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
no-expiry
1 parent 06af416 commit 3d8b98fCopy full SHA for 3d8b98f
web-app/src/screens/Console/Account/AccountUtils.tsx
@@ -23,14 +23,15 @@ export const ACCOUNT_TABLE_COLUMNS = [
23
label: "Expiry",
24
elementKey: "expiration",
25
renderFunction: (expTime: string) => {
26
- if (expTime) {
+ if (expTime !== "1970-01-01T00:00:00Z") {
27
const fmtDate = DateTime.fromISO(expTime)
28
.toUTC()
29
.toFormat("y/M/d hh:mm:ss z");
30
31
return <span title={fmtDate}>{fmtDate}</span>;
32
+ } else {
33
+ return <span>no-expiry</span>;
34
}
- return "";
35
},
36
37
{
0 commit comments