remove regularization request after approve or reject.
This commit is contained in:
parent
c45130b611
commit
aa6ddd7fe9
@ -11,7 +11,7 @@ const Regularization = ( { handleRequest} ) =>
|
||||
{
|
||||
var selectedProject = useSelector((store) => store.localVariables.projectId);
|
||||
const [ regularizesList, setregularizedList ] = useState( [] )
|
||||
const { regularizes, loading,error} = useRegularizationRequests(selectedProject)
|
||||
const { regularizes, loading,error,refetch} = useRegularizationRequests(selectedProject)
|
||||
|
||||
|
||||
|
||||
@ -61,7 +61,7 @@ const Regularization = ( { handleRequest} ) =>
|
||||
<td>{att.checkOutTime ? convertShortTime(att.checkOutTime):"--"}</td>
|
||||
<td className='text-center ' >
|
||||
{/* <div className='d-flex justify-content-center align-items-center gap-3'> */}
|
||||
<RegularizationActions attendanceData={att} handleRequest={handleRequest} />
|
||||
<RegularizationActions attendanceData={att} handleRequest={handleRequest} refresh={refetch } />
|
||||
{/* </div> */}
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
x
Reference in New Issue
Block a user