#660 remove owner in calendar of resource

This commit is contained in:
lethemanh
2026-03-18 16:32:53 +07:00
parent e665ea4a79
commit 1cf24c25f4
+2 -1
View File
@@ -15,7 +15,8 @@ export function CalendarName({ calendar }: { calendar: Calendar }) {
const ownerId = calendar.id.split("/")[0];
const ownerDisplayName = makeDisplayName(calendar) ?? "";
const isOwnCalendar = userData.openpaasId === ownerId;
const showCaption = calendar.name !== "#default" && !isOwnCalendar;
const showCaption =
calendar.name !== "#default" && !isOwnCalendar && !calendar.owner?.resource;
return (
<Box