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