diff --git a/src/components/pages/production/project-flock/ProjectFlockTable.tsx b/src/components/pages/production/project-flock/ProjectFlockTable.tsx index bdc271a6..17d5227b 100644 --- a/src/components/pages/production/project-flock/ProjectFlockTable.tsx +++ b/src/components/pages/production/project-flock/ProjectFlockTable.tsx @@ -59,8 +59,7 @@ const RowOptionsMenu = ({ detailClickHandler: (id: number) => void; deleteClickHandler: () => void; }) => { - // TODO: change this to real condition - const showEditButton = true; + const showEditButton = props.row.original.approval?.step_number !== 2; const showDeleteButton = showEditButton;