hide specific data for users into CustomDataGrid

This commit is contained in:
maxim
2025-03-16 17:32:02 +03:00
parent 7fc6c9dc7c
commit bf73138521
4 changed files with 69 additions and 26 deletions

View File

@ -41,10 +41,10 @@ export const MediaList = () => {
field: 'actions',
headerName: 'Действия',
align: 'right',
headerAlign: 'center',
minWidth: 130,
sortable: false,
headerAlign: 'right',
display: 'flex',
flex: 1,
sortable: false,
renderCell: function render({row}) {
return (
<>

View File

@ -60,10 +60,10 @@ export const SightList = () => {
field: 'actions',
headerName: 'Действия',
align: 'right',
headerAlign: 'center',
minWidth: 120,
sortable: false,
headerAlign: 'right',
display: 'flex',
flex: 1,
sortable: false,
renderCell: function render({row}) {
return (
<>

View File

@ -51,10 +51,11 @@ export const VehicleList = () => {
field: 'actions',
headerName: 'Действия',
align: 'right',
headerAlign: 'center',
minWidth: 120,
sortable: false,
headerAlign: 'right',
display: 'flex',
flex: 1,
sortable: false,
renderCell: function render({row}) {
return (
<>