mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-25 15:55:48 +00:00
fix: adjust showEditButton condition
This commit is contained in:
@@ -59,8 +59,7 @@ const RowOptionsMenu = ({
|
|||||||
detailClickHandler: (id: number) => void;
|
detailClickHandler: (id: number) => void;
|
||||||
deleteClickHandler: () => void;
|
deleteClickHandler: () => void;
|
||||||
}) => {
|
}) => {
|
||||||
// TODO: change this to real condition
|
const showEditButton = props.row.original.approval?.step_number !== 2;
|
||||||
const showEditButton = true;
|
|
||||||
|
|
||||||
const showDeleteButton = showEditButton;
|
const showDeleteButton = showEditButton;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user