disable create, edit for several routes using AdminOnly wrapper

This commit is contained in:
maxim
2025-04-03 17:25:28 +03:00
parent c1a788b4e5
commit 739bbe4e28
8 changed files with 109 additions and 18 deletions

View File

@ -42,6 +42,7 @@ export const CityList = () => {
{
field: 'actions',
headerName: 'Действия',
cellClassName: 'city-actions',
minWidth: 120,
display: 'flex',
align: 'right',

View File

@ -26,6 +26,7 @@ export const CountryList = () => {
{
field: 'actions',
headerName: 'Действия',
cellClassName: 'country-actions',
minWidth: 120,
display: 'flex',
align: 'right',

View File

@ -62,6 +62,7 @@ export const RouteList = () => {
{
field: 'actions',
headerName: 'Действия',
cellClassName: 'route-actions',
align: 'right',
headerAlign: 'center',
minWidth: 120,

View File

@ -67,6 +67,7 @@ export const StationList = () => {
{
field: 'actions',
headerName: 'Действия',
cellClassName: 'station-actions',
align: 'right',
headerAlign: 'center',
minWidth: 120,