mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-06-11 02:51:49 +00:00
fix: disabled deliver item button if is submitting and set the is loading prop
This commit is contained in:
@@ -847,7 +847,8 @@ const DeliveryOrderFormModal = ({}: { initialValues?: Marketing }) => {
|
|||||||
}
|
}
|
||||||
}}
|
}}
|
||||||
className='p-3 shadow-button-soft text-base-100 rounded-lg text-sm font-semibold'
|
className='p-3 shadow-button-soft text-base-100 rounded-lg text-sm font-semibold'
|
||||||
disabled={deliveryRejected}
|
disabled={deliveryRejected || isLoading}
|
||||||
|
isLoading={isLoading}
|
||||||
>
|
>
|
||||||
{marketing?.data?.latest_approval?.step_number === 1 &&
|
{marketing?.data?.latest_approval?.step_number === 1 &&
|
||||||
'Approve'}
|
'Approve'}
|
||||||
|
|||||||
Reference in New Issue
Block a user