Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
@@ -137,7 +137,7 @@ export default function EventPreviewModal({
|
|||||||
open={open && !hidePreview}
|
open={open && !hidePreview}
|
||||||
onClose={() => onClose({}, "backdropClick")}
|
onClose={() => onClose({}, "backdropClick")}
|
||||||
showHeaderActions={false}
|
showHeaderActions={false}
|
||||||
actionsBorderTop={true}
|
actionsBorderTop={currentUserAttendee && isOwn}
|
||||||
actionsJustifyContent="center"
|
actionsJustifyContent="center"
|
||||||
style={{ overflow: "auto" }}
|
style={{ overflow: "auto" }}
|
||||||
title={
|
title={
|
||||||
@@ -312,8 +312,9 @@ export default function EventPreviewModal({
|
|||||||
)
|
)
|
||||||
}
|
}
|
||||||
actions={
|
actions={
|
||||||
<>
|
currentUserAttendee &&
|
||||||
{currentUserAttendee && (
|
isOwn && (
|
||||||
|
<>
|
||||||
<>
|
<>
|
||||||
<Typography sx={{ marginRight: 2 }}>
|
<Typography sx={{ marginRight: 2 }}>
|
||||||
{t("eventPreview.attendingQuestion")}
|
{t("eventPreview.attendingQuestion")}
|
||||||
@@ -450,8 +451,8 @@ export default function EventPreviewModal({
|
|||||||
</Button>
|
</Button>
|
||||||
</Box>
|
</Box>
|
||||||
</>
|
</>
|
||||||
)}
|
</>
|
||||||
</>
|
)
|
||||||
}
|
}
|
||||||
>
|
>
|
||||||
{((event.class !== "PRIVATE" && !isOwn) || isOwn) && (
|
{((event.class !== "PRIVATE" && !isOwn) || isOwn) && (
|
||||||
|
|||||||
Reference in New Issue
Block a user