ClonesTable: Remove created_at column from the clones table

This removes the `created_at` column from the clones table as per the latest designs.
This commit is contained in:
regexowl 2023-05-05 10:34:46 +02:00 committed by Lucas Garfield
parent dde0f195b4
commit d54d347d83
2 changed files with 10 additions and 23 deletions

View file

@ -19,7 +19,6 @@ import {
selectComposeById,
selectImageById,
} from '../../store/composesSlice';
import { timestampToDisplayString } from '../../Utilities/time';
const Row = ({ imageId }) => {
const image = useSelector((state) => selectImageById(state, imageId));
@ -42,9 +41,6 @@ const Row = ({ imageId }) => {
<Tbody>
<Tr>
<Td dataLabel="UUID">{image.id}</Td>
<Td dataLabel="Created">
{timestampToDisplayString(image.created_at)}
</Td>
<Td dataLabel="Account">{getAccount(image)}</Td>
<Td dataLabel="Region">{image.region}</Td>
<Td dataLabel="Status">
@ -69,11 +65,10 @@ const ClonesTable = ({ composeId }) => {
>
<Thead>
<Tr className="no-bottom-border">
<Th>UUID</Th>
<Th>Created</Th>
<Th>Account</Th>
<Th>Region</Th>
<Th>Status</Th>
<Th className="pf-m-width-40">UUID</Th>
<Th className="pf-m-width-20">Account</Th>
<Th className="pf-m-width-20">Region</Th>
<Th className="pf-m-width-20">Status</Th>
</Tr>
</Thead>
<Row imageId={parentCompose.id} imageType={'compose'} />