diff --git a/frontend/src/components/pages/Estimates.vue b/frontend/src/components/pages/Estimates.vue index 3f0e758..8eb44a8 100644 --- a/frontend/src/components/pages/Estimates.vue +++ b/frontend/src/components/pages/Estimates.vue @@ -175,7 +175,7 @@ const tableActions = [ { label: "View Details", action: (rowData) => { - router.push(`/estimate?address=${encodeURIComponent(rowData.address)}`); + router.push(`/estimate?name=${encodeURIComponent(rowData.id)}`); }, type: "button", style: "info", @@ -189,8 +189,8 @@ const tableActions = [ ]; const handleEstimateClick = (status, rowData) => { - // Navigate to estimate details page with the address - router.push(`/estimate?address=${encodeURIComponent(rowData.address)}`); + // Navigate to estimate details page with the name + router.push(`/estimate?name=${encodeURIComponent(rowData.name)}`); }; const closeSubmitEstimateModal = () => {