fix: disabled deliver item button if is submitting and set the is loading prop

This commit is contained in:
ValdiANS
2026-06-03 14:24:39 +07:00
parent f167916a21
commit 4151829cb8
@@ -847,7 +847,8 @@ const DeliveryOrderFormModal = ({}: { initialValues?: Marketing }) => {
}
}}
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 &&
'Approve'}