We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ac2709b + c219859 commit cf8cd96Copy full SHA for cf8cd96
src/main.ts
@@ -59,8 +59,12 @@ export default class TasksPlugin extends Plugin {
59
workspace: this.app.workspace,
60
events,
61
});
62
- this.inlineRenderer = new InlineRenderer({ plugin: this });
63
- this.queryRenderer = new QueryRenderer({ plugin: this, events });
+
+ this.app.workspace.onLayoutReady(() => {
64
+ // Only execute searches after Obsidian finishes loading.
65
+ this.inlineRenderer = new InlineRenderer({ plugin: this });
66
+ this.queryRenderer = new QueryRenderer({ plugin: this, events });
67
+ });
68
69
// Update types.json.
70
this.setObsidianPropertiesTypes();
0 commit comments