Skip to content

Commit d58492f

Browse files
committed
2 parents 726476a + a66847a commit d58492f

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

src/main.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -147,6 +147,10 @@ export default class FolderNotesPlugin extends Plugin {
147147
}
148148

149149
onLayoutReady() {
150+
if (!this._loaded) {
151+
return;
152+
}
153+
150154
registerFileExplorerObserver(this);
151155
this.registerView(FOLDER_OVERVIEW_VIEW, (leaf: WorkspaceLeaf) => {
152156
return new FolderOverviewView(leaf, this);

0 commit comments

Comments
 (0)