stormseed / daykeep-calendar-quasar

A full event display calendar for the Quasar framework that has multiple viewing formats.
MIT License
270 stars 71 forks source link

CalendarEventMixin 'fullComponentRef' #42

Closed nicholaszuccarelli closed 5 years ago

nicholaszuccarelli commented 5 years ago

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,

      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).