fix: adjust showEditButton condition

This commit is contained in:
ValdiANS
2026-04-13 10:58:33 +07:00
parent 9e297cc0a4
commit 3fedbc7ffb
@@ -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;