Admin: uproszczenie etykiet akcji w menu silowni ('Zarzadzaj X' -> 'Galeria', 'Urzadzenia', 'Wlasciciele')
This commit is contained in:
@@ -549,7 +549,7 @@ export default function GymDetail() {
|
||||
id: 'gallery',
|
||||
label: 'Galeria',
|
||||
icon: ImageIcon,
|
||||
actions: [{ label: 'Zarządzaj galerią', onClick: () => setGalleryOpen(true) }],
|
||||
actions: [{ label: 'Galeria', onClick: () => setGalleryOpen(true) }],
|
||||
} as TopbarCustomGroup,
|
||||
]
|
||||
: []),
|
||||
@@ -557,13 +557,13 @@ export default function GymDetail() {
|
||||
id: 'equipment',
|
||||
label: 'Urządzenia',
|
||||
icon: Wrench,
|
||||
actions: [{ label: 'Zarządzaj urządzeniami', onClick: () => setEquipmentOpen(true) }],
|
||||
actions: [{ label: 'Urządzenia', onClick: () => setEquipmentOpen(true) }],
|
||||
},
|
||||
{
|
||||
id: 'owners',
|
||||
label: 'Właściciele',
|
||||
icon: ShieldCheck,
|
||||
actions: [{ label: 'Zarządzaj właścicielami', onClick: () => setOwnersOpen(true) }],
|
||||
actions: [{ label: 'Właściciele', onClick: () => setOwnersOpen(true) }],
|
||||
},
|
||||
]
|
||||
: undefined;
|
||||
|
||||
Reference in New Issue
Block a user