disable create, edit for several routes using AdminOnly wrapper
This commit is contained in:
@@ -42,6 +42,7 @@ export const CityList = () => {
|
||||
{
|
||||
field: 'actions',
|
||||
headerName: 'Действия',
|
||||
cellClassName: 'city-actions',
|
||||
minWidth: 120,
|
||||
display: 'flex',
|
||||
align: 'right',
|
||||
|
||||
@@ -26,6 +26,7 @@ export const CountryList = () => {
|
||||
{
|
||||
field: 'actions',
|
||||
headerName: 'Действия',
|
||||
cellClassName: 'country-actions',
|
||||
minWidth: 120,
|
||||
display: 'flex',
|
||||
align: 'right',
|
||||
|
||||
@@ -62,6 +62,7 @@ export const RouteList = () => {
|
||||
{
|
||||
field: 'actions',
|
||||
headerName: 'Действия',
|
||||
cellClassName: 'route-actions',
|
||||
align: 'right',
|
||||
headerAlign: 'center',
|
||||
minWidth: 120,
|
||||
|
||||
@@ -67,6 +67,7 @@ export const StationList = () => {
|
||||
{
|
||||
field: 'actions',
|
||||
headerName: 'Действия',
|
||||
cellClassName: 'station-actions',
|
||||
align: 'right',
|
||||
headerAlign: 'center',
|
||||
minWidth: 120,
|
||||
|
||||
Reference in New Issue
Block a user