Scan the vault after layout ready for plugin reload

This commit is contained in:
Ozan Tellioglu 2023-03-30 08:02:26 +02:00
parent 654a4b4fd6
commit a4de20347b

View file

@ -40,6 +40,7 @@ export default class OZCalendarPlugin extends Plugin {
});
this.app.workspace.onLayoutReady(() => {
this.OZCALENDARDAYS_STATE = this.getNotesWithDates();
if (this.settings.openViewOnStart) {
this.openOZCalendarLeaf({ showAfterAttach: true });
}