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