mattlewis92 / angular-calendar

A flexible calendar component for angular 15.0+ that can display events on a month, week or day view.
https://mattlewis92.github.io/angular-calendar/
MIT License
2.72k stars 863 forks source link

Event only loading in when I press next/ previous #1546

Closed ViribusEgoVis closed 2 years ago

ViribusEgoVis commented 2 years ago

Describe the bug I've been using your project as a template, and pushing events using GraphQL, but when I open the page (after reload) my events don't show right away. They only show if I press previous and Next (I only use the month view)

Minimal reproduction of the problem with instructions Use template Push events that I get using the GraphQL service The events on the current month don't show until I update the viewdate

Screenshots image Before changing the viewdate

image After viewdate changed

matts-bot[bot] commented 2 years ago

Thanks so much for opening an issue! If you'd like me to give priority to answering your issue or would just like to support this project, then please consider sponsoring me

ViribusEgoVis commented 2 years ago

Nevermind, I looked at the closed issues and fixed my issue. (Had to refresh the calendar with this.refresh.next() )