From b74e80163d1934ab59172e3958612fcd7c8f0329 Mon Sep 17 00:00:00 2001 From: Kyle Burton Date: Fri, 17 Jan 2025 03:01:22 -0600 Subject: [PATCH] remove bash? --- Dockerfile | 2 +- .../tables/DatasetContentsTable.tsx | 5 ----- .../DataLibrary/tables/SelectedItemsTable.tsx | 20 +++++++++++-------- 3 files changed, 13 insertions(+), 14 deletions(-) diff --git a/Dockerfile b/Dockerfile index 0a059d6f..45bc427a 100644 --- a/Dockerfile +++ b/Dockerfile @@ -81,4 +81,4 @@ USER nextjs EXPOSE 3000 # Start the application using bash -CMD ["/bin/sh", "./start.sh"] +CMD ["npm", "run", "start"] diff --git a/packages/frontend/src/features/DataLibrary/tables/DatasetContentsTable.tsx b/packages/frontend/src/features/DataLibrary/tables/DatasetContentsTable.tsx index ec517c69..f95d87e9 100644 --- a/packages/frontend/src/features/DataLibrary/tables/DatasetContentsTable.tsx +++ b/packages/frontend/src/features/DataLibrary/tables/DatasetContentsTable.tsx @@ -23,12 +23,7 @@ import QueryDetails from '../QueryDetails'; /** * Component that manages a List items, which are composed of Dataset and/or Cohorts */ -// TODO Move to config. const columns = [ - { - accessorKey: 'name', - header: 'Name', - }, { accessorKey: 'id', header: 'Id', diff --git a/packages/frontend/src/features/DataLibrary/tables/SelectedItemsTable.tsx b/packages/frontend/src/features/DataLibrary/tables/SelectedItemsTable.tsx index 9cbf0b57..c21b8b4c 100644 --- a/packages/frontend/src/features/DataLibrary/tables/SelectedItemsTable.tsx +++ b/packages/frontend/src/features/DataLibrary/tables/SelectedItemsTable.tsx @@ -149,10 +149,8 @@ const SelectedItemsTable: React.FC = ({ }, }, { - accessorKey: 'id', - header: 'Id', - size: 150, - maxSize: 250, + accessorKey: 'name', + header: 'Name', }, { accessorKey: 'description', @@ -167,17 +165,23 @@ const SelectedItemsTable: React.FC = ({ ); }, }, + { + accessorKey: 'datasetId', + header: 'Dataset ID', + }, { accessorKey: 'type', header: 'Type', }, { - accessorKey: 'size', - header: 'Size', + accessorKey: 'id', + header: 'Id', + size: 150, + maxSize: 250, }, { - accessorKey: 'datasetId', - header: 'Dataset ID', + accessorKey: 'size', + header: 'Size', }, ], [iconSize, size],