X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/5e12403f4dcfe39eda79c256a94ceadc90458a99..8e6e183396531005e9c6cee19e6e79998047cabd:/src/views-components/data-explorer/renderers.tsx diff --git a/src/views-components/data-explorer/renderers.tsx b/src/views-components/data-explorer/renderers.tsx index e09160661b..47e5b287ae 100644 --- a/src/views-components/data-explorer/renderers.tsx +++ b/src/views-components/data-explorer/renderers.tsx @@ -862,6 +862,16 @@ export const CollectionStatus = connect((state: RootState, props: { uuid: string : head version ); +export const CollectionName = connect((state: RootState, props: { uuid: string, className?: string }) => { + return { + collection: getResource(props.uuid)(state.resources), + uuid: props.uuid, + className: props.className, + }; +})((props: { collection: CollectionResource, uuid: string, className?: string }) => + {props.collection?.name || props.uuid} +); + export const ProcessStatus = compose( connect((state: RootState, props: { uuid: string }) => { return { process: getProcess(props.uuid)(state.resources) };