From 859f5402ff0b0629119693a3956acbc439df7bbb Mon Sep 17 00:00:00 2001 From: Lisa Knox Date: Wed, 23 Nov 2022 10:11:19 -0500 Subject: [PATCH] 19690: created and deleteAt columns up Arvados-DCO-1.1-Signed-off-by: Lisa Knox - {console.log('TABLEBODY>ITEMS',items, "THIS ?", this)} + {/* {console.log('TABLEBODY>ITEMS',items, "THIS ?", this)} */} { !working && items.map(this.renderBodyRow) } @@ -170,7 +170,7 @@ export const DataTable = withStyles(styles)( onDoubleClick={event => onRowDoubleClick && onRowDoubleClick(event, item)} selected={item === currentItemUuid}> {this.mapVisibleColumns((column, index) => { - console.log('RENDERBODYROW', column.render(item)) + // console.log('RENDERBODYROW', column.render(item)) return {column.render(item)} diff --git a/src/store/workbench/workbench-actions.ts b/src/store/workbench/workbench-actions.ts index e1fcae4b8d..0ad3fb8e55 100644 --- a/src/store/workbench/workbench-actions.ts +++ b/src/store/workbench/workbench-actions.ts @@ -170,7 +170,6 @@ export const loadWorkbench = const { auth, router } = getState(); const { user } = auth; if (user) { - // console.log('PREJECTPANELCOLUMNS', projectPanelColumns); dispatch( projectPanelActions.SET_COLUMNS({ columns: projectPanelColumns }) ); diff --git a/src/views/project-panel/project-panel.tsx b/src/views/project-panel/project-panel.tsx index 032b73e15c..c2cc8f3c4b 100644 --- a/src/views/project-panel/project-panel.tsx +++ b/src/views/project-panel/project-panel.tsx @@ -18,6 +18,7 @@ import { ResourceKind, Resource } from 'models/resource'; import { ResourceFileSize, ResourceLastModifiedDate, + ResourceCreatedAtDate, ProcessStatus, ResourceType, ResourceOwnerWithName @@ -65,7 +66,8 @@ export enum ProjectPanelColumnNames { OWNER = "Owner", FILE_SIZE = "File size", LAST_MODIFIED = "Last modified", - UUID = "UUID" + UUID = "UUID", + CREATED_AT = "Created" } export interface ProjectPanelFilter extends DataTableFilterItem { @@ -122,9 +124,15 @@ export const projectPanelColumns: DataColumns = [ name: ProjectPanelColumnNames.UUID, selected: true, configurable: true, - sortDirection: SortDirection.DESC, filters: createTree(), render: uuid =><>{uuid} + }, + { + name: ProjectPanelColumnNames.CREATED_AT, + selected: true, + configurable: true, + filters: createTree(), + render: uuid => } ]; -- 2.30.2