mirror of
https://github.com/ozntel/oz-calendar.git
synced 2026-07-22 07:40:24 +00:00
Scan the vault after layout ready for plugin reload
This commit is contained in:
parent
654a4b4fd6
commit
a4de20347b
1 changed files with 1 additions and 0 deletions
|
|
@ -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 });
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue