Removed dummy Action button from client list
This commit is contained in:
parent
4f06984a0d
commit
73d235b7bc
1 changed files with 0 additions and 15 deletions
|
|
@ -201,21 +201,6 @@ const tableActions = [
|
||||||
router.push(`/estimate?new=true&address=${address}`);
|
router.push(`/estimate?new=true&address=${address}`);
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
|
||||||
label: "Action",
|
|
||||||
rowAction: true,
|
|
||||||
type: "menu",
|
|
||||||
menuItems: [
|
|
||||||
{
|
|
||||||
label: "View Client Details",
|
|
||||||
action: (rowData) => {
|
|
||||||
const client = encodeURIComponent(rowData.customerName);
|
|
||||||
const address = encodeURIComponent(rowData.address);
|
|
||||||
router.push(`/client?client=${client}&address=${address}`);
|
|
||||||
},
|
|
||||||
},
|
|
||||||
]
|
|
||||||
}
|
|
||||||
// {
|
// {
|
||||||
// label: "Export Selected",
|
// label: "Export Selected",
|
||||||
// action: (selectedRows) => {
|
// action: (selectedRows) => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue