I've found a problem with implementing each of the components separately.
After I edit my event, it is calling the 'update-event-calendar' global event,
however within the CalendarEventMixin,
if (dashHas(this._props, 'fullComponentRef')) {
// this component has a calendar parent, so don't move forward
return
}
The event keeps getting caught in here, even though I haven't used the full calendar component.
When I console.log'd this._props, fullComponentRef was present (as undefined), but because it was present, it wouldn't update the calendar event details.
What I'm basically saying is, this if statement needs to be updated to simply check:
if (this._props.fullComponentRef)
(Tried and tested).
Hi,
I've found a problem with implementing each of the components separately.
After I edit my event, it is calling the 'update-event-calendar' global event, however within the CalendarEventMixin,
The event keeps getting caught in here, even though I haven't used the full calendar component. When I console.log'd
this._props
, fullComponentRef was present (as undefined), but because it was present, it wouldn't update the calendar event details.What I'm basically saying is, this if statement needs to be updated to simply check:
if (this._props.fullComponentRef)
(Tried and tested).