diff --git a/client/modules/datafiles/src/projects/ProjectPipeline/PipelineOtherSelectFiles.tsx b/client/modules/datafiles/src/projects/ProjectPipeline/PipelineOtherSelectFiles.tsx index eca87b0365..bf23afc4bf 100644 --- a/client/modules/datafiles/src/projects/ProjectPipeline/PipelineOtherSelectFiles.tsx +++ b/client/modules/datafiles/src/projects/ProjectPipeline/PipelineOtherSelectFiles.tsx @@ -152,6 +152,7 @@ export const PipelineOtherSelectFiles: React.FC<{ api="tapis" system={`project-${data.baseProject.uuid}`} fileTags={data.baseProject.value.fileTags} + baseRoute={`/projects/${projectId}/curation`} /> )} diff --git a/client/modules/datafiles/src/projects/ProjectPreview/ProjectPreview.tsx b/client/modules/datafiles/src/projects/ProjectPreview/ProjectPreview.tsx index 44416efb52..57400cbddc 100644 --- a/client/modules/datafiles/src/projects/ProjectPreview/ProjectPreview.tsx +++ b/client/modules/datafiles/src/projects/ProjectPreview/ProjectPreview.tsx @@ -40,62 +40,64 @@ export const EntityFileListingTable: React.FC<{ path?: string; selectedFile?: TFileListing; }>({ isOpen: false }); - + const { projectId } = useParams(); const doi = useDoiContext(); const columns: TFileListingColumns = [ { title: 'File Name', dataIndex: 'name', ellipsis: true, - render: (data, record) => ( -
- {record.type === 'dir' ? ( - - -    - - {data} - - ) : ( - <> - -    - - - )} -
- {treeData.value.fileTags - .filter((t) => t.path === record.path) - .map((t) => ( - - {t.tagName} - - ))} + + ) : ( + <> + +    + + + )} +
+ {treeData.value.fileTags + .filter((t) => t.path === record.path) + .map((t) => ( + + {t.tagName} + + ))} +
-
- ), + ); + }, }, ]; return (