diff --git a/frontend/src/components/DataTable.tsx b/frontend/src/components/DataTable.tsx index 66306da..edd0bb3 100644 --- a/frontend/src/components/DataTable.tsx +++ b/frontend/src/components/DataTable.tsx @@ -58,11 +58,17 @@ const DataTable: React.FC = ({ data }) => { column: Column, unknown>; }) => { const hasProcessId = !!props.row.___process_step_id; + const cellContent = props.row[props.column.key]; + const showInfoIcon = + hasProcessId && + cellContent !== "" && + cellContent !== null && + cellContent !== undefined; return (
- {props.row[props.column.key]} - {hasProcessId && ( + {cellContent} + {showInfoIcon && (