Closed carlonicora closed 1 year ago
Hello,
Is it possible to automatically refresh the right leaf calendar view after having added an even to the calendar?
saveCalendar
After I save the new event in FC, if the calendar is open in the right leaf, the calendar is not refreshed.
I tried a few tricks (for example calling app.workspace.trigger("fantasy-calendars-updated");) but I can't make it work.
app.workspace.trigger("fantasy-calendars-updated");
Any suggestion would be really welcome!
Thanks
Hello,
Is it possible to automatically refresh the right leaf calendar view after having added an even to the calendar?
Current setup
saveCalendar
functionCurrent Issue
After I save the new event in FC, if the calendar is open in the right leaf, the calendar is not refreshed.
I tried a few tricks (for example calling
app.workspace.trigger("fantasy-calendars-updated");
) but I can't make it work.Any suggestion would be really welcome!
Thanks