Calendar subscription naming (#235)
Co-authored-by: Camille Moussu <cmoussu@linagora.com>
This commit is contained in:
@@ -61,7 +61,11 @@ function CalendarItem({
|
||||
}}
|
||||
/>
|
||||
<Box>
|
||||
<Typography variant="body1">{cal.cal["dav:name"]}</Typography>
|
||||
<Typography variant="body1">
|
||||
{cal.cal["dav:name"] === "#default"
|
||||
? cal.owner.displayName + "'s calendar"
|
||||
: cal.cal["dav:name"]}
|
||||
</Typography>
|
||||
<Typography variant="body2" color="textSecondary">
|
||||
{cal.owner.email}
|
||||
</Typography>
|
||||
|
||||
Reference in New Issue
Block a user