mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-24 23:35:45 +00:00
fix(FE-238): hide approval button when chickin on submission
This commit is contained in:
@@ -59,14 +59,16 @@ const ChickinLogsView = ({
|
|||||||
}}
|
}}
|
||||||
>
|
>
|
||||||
<div className='flex flex-row justify-start gap-3 mt-3'>
|
<div className='flex flex-row justify-start gap-3 mt-3'>
|
||||||
<Button
|
{initialValues?.approval?.step_number == 1 && (
|
||||||
color='success'
|
<Button
|
||||||
variant='outline'
|
color='success'
|
||||||
onClick={handleClickApprove}
|
variant='outline'
|
||||||
>
|
onClick={handleClickApprove}
|
||||||
<Icon width={24} height={24} icon='material-symbols:check' />
|
>
|
||||||
Approve
|
<Icon width={24} height={24} icon='material-symbols:check' />
|
||||||
</Button>
|
Approve
|
||||||
|
</Button>
|
||||||
|
)}
|
||||||
</div>
|
</div>
|
||||||
<Table<Chickin>
|
<Table<Chickin>
|
||||||
data={initialValues?.chickins || []}
|
data={initialValues?.chickins || []}
|
||||||
|
|||||||
Reference in New Issue
Block a user