[Fix] Display Claim Postponed

This commit is contained in:
R
2023-01-13 11:50:31 +07:00
parent e116fb814a
commit f09eaef5ad
2 changed files with 3 additions and 3 deletions

View File

@@ -221,8 +221,8 @@ export default function List() {
{ (row.status == 'approved' && (
<TableCell align="left">Approved</TableCell>
)) }
{ (row.status == 'postponed' && (
<TableCell align="left">Postpone</TableCell>
{ (row.status == 'postpone' && (
<TableCell align="left">Postponed</TableCell>
)) }
<TableCell align="right">

View File

@@ -191,7 +191,7 @@ export default function PlanList() {
const loadDataTableData = async (appliedFilter: any | null = null) => {
setDataTableLoading(true);
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,
});
// console.log(response.data);