diff --git a/components/dashboard/ActionTableRow.tsx b/components/dashboard/ActionTableRow.tsx index 9edc5c7a..41c39281 100644 --- a/components/dashboard/ActionTableRow.tsx +++ b/components/dashboard/ActionTableRow.tsx @@ -119,15 +119,21 @@ const ActionTableRow = ({ columns, action, plan, planViewUrl }: Props) => { columnConfig; const hasTooltip = !!renderTooltipContent; const content = renderCell(action, plan, planViewUrl); - const id = `${action.identifier}-${i}`; + const id = `row-${action.id}-${i}`; const className = `${cellClassName} ${ hasTooltip ? 'has-tooltip' : '' } ${rowHeader ? 'row-title' : ''}`; + const tooltip = hasTooltip && ( + + {renderTooltipContent(action, plan)} + + ); if (rowHeader) { return ( {content} + {tooltip} ); } @@ -135,12 +141,7 @@ const ActionTableRow = ({ columns, action, plan, planViewUrl }: Props) => { return ( {content} - - {hasTooltip && ( - - {renderTooltipContent(action, plan)} - - )} + {tooltip} ); })}