mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
refactor(FE): Update button label based on approval step number
This commit is contained in:
@@ -109,7 +109,9 @@ const RowsOptionsMenu = ({
|
||||
className='p-3 justify-start text-sm font-semibold w-full'
|
||||
>
|
||||
<Icon icon='heroicons:truck' width={20} height={20} />
|
||||
Deliver Item
|
||||
{props.row.original.latest_approval.step_number == 2
|
||||
? 'Deliver Item'
|
||||
: 'Edit Delivery'}
|
||||
</Button>
|
||||
</RequirePermission>
|
||||
</>
|
||||
|
||||
Reference in New Issue
Block a user