[Fix] Display Claim Postponed
This commit is contained in:
@@ -221,8 +221,8 @@ export default function List() {
|
|||||||
{ (row.status == 'approved' && (
|
{ (row.status == 'approved' && (
|
||||||
<TableCell align="left">Approved</TableCell>
|
<TableCell align="left">Approved</TableCell>
|
||||||
)) }
|
)) }
|
||||||
{ (row.status == 'postponed' && (
|
{ (row.status == 'postpone' && (
|
||||||
<TableCell align="left">Postpone</TableCell>
|
<TableCell align="left">Postponed</TableCell>
|
||||||
)) }
|
)) }
|
||||||
|
|
||||||
<TableCell align="right">
|
<TableCell align="right">
|
||||||
|
|||||||
@@ -191,7 +191,7 @@ export default function PlanList() {
|
|||||||
const loadDataTableData = async (appliedFilter: any | null = null) => {
|
const loadDataTableData = async (appliedFilter: any | null = null) => {
|
||||||
setDataTableLoading(true);
|
setDataTableLoading(true);
|
||||||
const filter = appliedFilter ? appliedFilter : Object.fromEntries([...searchParams.entries()]);
|
const filter = appliedFilter ? appliedFilter : Object.fromEntries([...searchParams.entries()]);
|
||||||
const response = await axios.get('/corporate/' + corporate_id + '/divisions', {
|
const response = await axios.get('/corporates/' + corporate_id + '/divisions', {
|
||||||
params: filter,
|
params: filter,
|
||||||
});
|
});
|
||||||
// console.log(response.data);
|
// console.log(response.data);
|
||||||
|
|||||||
Reference in New Issue
Block a user