return { uuid: process?.container?.uuid ? process?.container?.uuid : '' };
})((props: { uuid: string }) => renderUuid({ uuid: props.uuid }));
+
+export const ResourceOutputUuid = connect(
+ (state: RootState, props: { uuid: string }) => {
+ const process = getProcess(props.uuid)(state.resources)
+ const outputUuid = process?.containerRequest.outputUuid
+ return { uuid: outputUuid ? outputUuid : '' };
+ })((props: { uuid: string }) => renderUuid({ uuid: props.uuid }));
+
export const ResourceParentProcess = connect(
(state: RootState, props: { uuid: string }) => {
const process = getProcess(props.uuid)(state.resources)
ProcessStatus,
ResourceType,
ResourceUUID,
+ ResourceOutputUuid,
ResourceProcessUuid,
ResourceProcessState,
ResourceParentProcess,
UUID = "UUID",
STATE = 'State',
CONTAINER_UUID = "Container UUID",
+ OUTPUT_UUID = "Output UUID",
PARENT_PROCESS = 'Parent process',
CREATED_AT = "Date created",
LAST_MODIFIED = "Last modified",
filters: createTree(),
render: uuid => <ResourceProcessUuid uuid={uuid}/>
},
+ {
+ name: ProjectPanelColumnNames.OUTPUT_UUID,
+ selected: false,
+ configurable: true,
+ filters: createTree(),
+ render: uuid => <ResourceOutputUuid uuid={uuid}/>
+ },
{
name: ProjectPanelColumnNames.STATE,
selected: true,