update
This commit is contained in:
@@ -2985,11 +2985,13 @@ export default function Kalender() {
|
|||||||
Von: {detailBooking.gebucht_von_name}
|
Von: {detailBooking.gebucht_von_name}
|
||||||
</Typography>
|
</Typography>
|
||||||
)}
|
)}
|
||||||
{canWriteBookings && (
|
{(canWriteBookings || detailBooking.gebucht_von === user?.id) && (
|
||||||
<Box sx={{ mt: 1.5, display: 'flex', gap: 1 }}>
|
<Box sx={{ mt: 1.5, display: 'flex', gap: 1 }}>
|
||||||
|
{canWriteBookings && (
|
||||||
<Button size="small" startIcon={<EditIcon />} onClick={handleOpenBookingEdit}>
|
<Button size="small" startIcon={<EditIcon />} onClick={handleOpenBookingEdit}>
|
||||||
Bearbeiten
|
Bearbeiten
|
||||||
</Button>
|
</Button>
|
||||||
|
)}
|
||||||
<Button
|
<Button
|
||||||
size="small"
|
size="small"
|
||||||
color="error"
|
color="error"
|
||||||
|
|||||||
Reference in New Issue
Block a user