Improve post & events cards, homepage and my events page
Signed-off-by: Thomas Citharel <tcit@tcit.fr>
This commit is contained in:
@@ -259,7 +259,7 @@ export function toEditJSON(event: IEditableEvent): IEventEditJSON {
|
||||
}
|
||||
|
||||
export function organizer(event: IEvent): IActor | null {
|
||||
if (event.attributedTo) {
|
||||
if (event.attributedTo?.id) {
|
||||
return event.attributedTo;
|
||||
}
|
||||
if (event.organizerActor) {
|
||||
|
||||
Reference in New Issue
Block a user