mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-26 08:15:44 +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'
|
className='p-3 justify-start text-sm font-semibold w-full'
|
||||||
>
|
>
|
||||||
<Icon icon='heroicons:truck' width={20} height={20} />
|
<Icon icon='heroicons:truck' width={20} height={20} />
|
||||||
Deliver Item
|
{props.row.original.latest_approval.step_number == 2
|
||||||
|
? 'Deliver Item'
|
||||||
|
: 'Edit Delivery'}
|
||||||
</Button>
|
</Button>
|
||||||
</RequirePermission>
|
</RequirePermission>
|
||||||
</>
|
</>
|
||||||
|
|||||||
Reference in New Issue
Block a user