mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-26 00:05:45 +00:00
refactor(FE): Add condition to hide buttons when step number is 3
This commit is contained in:
@@ -718,7 +718,8 @@ const DeliveryOrderFormModal = ({
|
||||
/>
|
||||
</div>
|
||||
)}
|
||||
{step === 1 && (
|
||||
{step === 1 &&
|
||||
marketing?.data?.latest_approval?.step_number !== 3 && (
|
||||
<div className='w-full px-4 py-3 grid grid-cols-2 items-center justify-between gap-3 border-t border-base-content/10'>
|
||||
<Button
|
||||
type='button'
|
||||
@@ -743,6 +744,7 @@ const DeliveryOrderFormModal = ({
|
||||
</Button>
|
||||
</div>
|
||||
)}
|
||||
{step === 3 && null}
|
||||
</div>
|
||||
</>
|
||||
)}
|
||||
|
||||
Reference in New Issue
Block a user