update: add $createdAt to deployments table.

This commit is contained in:
Darshan
2025-03-03 13:53:37 +05:30
parent 61bc0ad380
commit 3064b4bebd
2 changed files with 12 additions and 1 deletions
@@ -63,6 +63,14 @@
{ value: 'vcs', label: 'Git' }
]
},
{
id: '$createdAt',
title: 'Created',
type: 'datetime',
show: true,
width: 150,
format: 'datetime'
},
{
id: '$updatedAt',
title: 'Updated',
@@ -71,7 +79,6 @@
width: 150,
format: 'datetime'
},
{
id: 'buildTime',
title: 'Build time',
@@ -93,6 +93,10 @@
<TableCell width={column.width} title={column.title}>
<DeploymentSource {deployment} />
</TableCell>
{:else if column.id === '$createdAt'}
<TableCellText width={column.width} title={column.title}>
<DeploymentCreatedBy {deployment} />
</TableCellText>
{:else if column.id === '$updatedAt'}
<TableCellText width={column.width} title={column.title}>
<DeploymentCreatedBy {deployment} />