refactor(FE-64): update MovementTable and TableRowOptions to conditionally show edit and delete options

This commit is contained in:
rstubryan
2025-10-17 09:46:07 +07:00
parent 8c662a5152
commit 8bf7603f66
2 changed files with 20 additions and 12 deletions
@@ -157,8 +157,9 @@ const MovementTable = () => {
type='dropdown'
recordId={props.row.original.id}
basePath='/inventory/movement'
onDelete={deleteClickHandler}
queryParam='movementId'
showEdit={false}
showDelete={false}
/>
</RowDropdownOptions>
)}
@@ -169,8 +170,9 @@ const MovementTable = () => {
type='collapse'
recordId={props.row.original.id}
basePath='/inventory/movement'
onDelete={deleteClickHandler}
queryParam='movementId'
showEdit={false}
showDelete={false}
/>
</RowCollapseOptions>
)}