diff --git a/ui/src/pages/overview/collections/collection-columns.tsx b/ui/src/pages/overview/collections/collection-columns.tsx index 4e70c8303..21914f14a 100644 --- a/ui/src/pages/overview/collections/collection-columns.tsx +++ b/ui/src/pages/overview/collections/collection-columns.tsx @@ -48,12 +48,6 @@ export const columns: (projectId: string) => TableColumn[] = ( }, renderCell: (item: Collection) => , }, - { - id: 'created-at', - name: translate(STRING.FIELD_LABEL_CREATED_AT), - sortField: 'created_at', - renderCell: (item: Collection) => , - }, { id: 'updated-at', name: translate(STRING.FIELD_LABEL_UPDATED_AT), @@ -61,7 +55,7 @@ export const columns: (projectId: string) => TableColumn[] = ( renderCell: (item: Collection) => , }, { - id: 'actions', + id: 'collection-actions', name: '', styles: { padding: '16px', @@ -72,6 +66,18 @@ export const columns: (projectId: string) => TableColumn[] = ( {item.canUpdate && ( )} + + ), + }, + { + id: 'actions', + name: '', + styles: { + padding: '16px', + width: '100%', + }, + renderCell: (item: Collection) => ( +
{item.canUpdate && editableSamplingMethods.includes(item.method) && ( )} - - - - - + + + + + + + + + + + + + + + + + + + + + +