FIX: correctly fill recurrence property (#625)

This commit is contained in:
Joffrey JAFFEUX 2024-10-23 10:07:09 +09:00 committed by GitHub
parent a90490e20a
commit e0c5433022
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 3 additions and 0 deletions

View File

@ -34,6 +34,7 @@ export default class DiscoursePostEventEvent {
@tracked isClosed;
@tracked isExpired;
@tracked isStandalone;
@tracked recurrence;
@tracked recurrenceRule;
@tracked customFields;
@ -62,6 +63,7 @@ export default class DiscoursePostEventEvent {
this.isStandalone = args.is_standalone;
this.minimal = args.minimal;
this.recurrenceRule = args.recurrence_rule;
this.recurrence = args.recurrence;
this.canUpdateAttendance = args.can_update_attendance;
this.canActOnDiscoursePostEvent = args.can_act_on_discourse_post_event;
this.shouldDisplayInvitees = args.should_display_invitees;
@ -136,6 +138,7 @@ export default class DiscoursePostEventEvent {
this.isStandalone = event.isStandalone;
this.minimal = event.minimal;
this.recurrenceRule = event.recurrenceRule;
this.recurrence = event.recurrence;
this.canUpdateAttendance = event.canUpdateAttendance;
this.canActOnDiscoursePostEvent = event.canActOnDiscoursePostEvent;
this.shouldDisplayInvitees = event.shouldDisplayInvitees;