mirror of
https://gitlab.com/mbugroup/lti-web-client.git
synced 2026-05-20 13:32:00 +00:00
feat(FE-170,175): update approval logic in RecordingTable to include additional conditions for egg grading status
This commit is contained in:
@@ -468,7 +468,11 @@ const RecordingTable = () => {
|
||||
return true;
|
||||
}
|
||||
|
||||
return recording.egg_grading_status === 'COMPLETED';
|
||||
return (
|
||||
recording.egg_grading_status === 'COMPLETED' ||
|
||||
(recording.approval?.action === 'UPDATED' &&
|
||||
recording.approval?.step_number === 2)
|
||||
);
|
||||
}, []);
|
||||
|
||||
const searchChangeHandler = useCallback(
|
||||
|
||||
Reference in New Issue
Block a user