mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
fix: adjust showEditButton condition
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user