From 7769a7f3e5c64b2cc630719c2ebba1663f2d89fe Mon Sep 17 00:00:00 2001 From: IlyaDoronin Date: Wed, 6 Sep 2023 11:34:57 +0300 Subject: [PATCH] fix: open user modal --- src/pages/dashboard/Content/ServiceUsersDG.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/dashboard/Content/ServiceUsersDG.tsx b/src/pages/dashboard/Content/ServiceUsersDG.tsx index ec808c5..1df394d 100644 --- a/src/pages/dashboard/Content/ServiceUsersDG.tsx +++ b/src/pages/dashboard/Content/ServiceUsersDG.tsx @@ -36,7 +36,7 @@ export default function ServiceUsersDG({ columns={columns} components={{ Toolbar: GridToolbar }} onSelectionModelChange={handleSelectionChange} - onRowClick={({ row }) => navigate(row.id)} + onRowClick={({ row }) => navigate(row._id)} /> ) : ( Loading...