From a4de20347bf2ec4ceae2342d74d45b0fb37091f9 Mon Sep 17 00:00:00 2001 From: Ozan Tellioglu Date: Thu, 30 Mar 2023 08:02:26 +0200 Subject: [PATCH] Scan the vault after layout ready for plugin reload --- src/main.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/main.ts b/src/main.ts index 95f5a2d..ebba17c 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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 }); }