fix button link
This commit is contained in:
parent
440381265c
commit
43c205e577
@ -273,10 +273,10 @@ const handleAppointmentClick = (status, rowData) => {
|
|||||||
const address = encodeURIComponent(rowData.address);
|
const address = encodeURIComponent(rowData.address);
|
||||||
if (status?.toLowerCase() === "not started") {
|
if (status?.toLowerCase() === "not started") {
|
||||||
// Navigate to schedule on-site meeting
|
// Navigate to schedule on-site meeting
|
||||||
router.push(`/schedule-onsite?new=true&address=${address}`);
|
router.push(`/calendar?tab=bids&new=true&address=${address}`);
|
||||||
} else {
|
} else {
|
||||||
// Navigate to view appointment details
|
// Navigate to view appointment details
|
||||||
router.push('/schedule-onsite?address=' + address);
|
router.push('/calendar?tab=bids&address=' + address);
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user