fix notification for delete into list routes

This commit is contained in:
maxim
2025-03-17 01:01:04 +03:00
parent f987628cc9
commit 0365b9368d
10 changed files with 50 additions and 19 deletions

View File

@ -61,14 +61,16 @@ export const StationList = () => {
align: 'right',
headerAlign: 'center',
minWidth: 120,
sortable: false,
display: 'flex',
sortable: false,
filterable: false,
disableColumnMenu: true,
renderCell: function render({row}) {
return (
<>
<EditButton hideText recordItemId={row.id} />
<ShowButton hideText recordItemId={row.id} />
<DeleteButton hideText recordItemId={row.id} />
<DeleteButton hideText confirmTitle="Вы уверены?" recordItemId={row.id} />
</>
)
},