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.
1 parent 23d7d7c commit 24d954dCopy full SHA for 24d954d
src/main.ts
@@ -84,7 +84,7 @@ export default class TasksCalendarWrapper extends Plugin {
84
85
this.app.workspace.detachLeavesOfType(type);
86
try {
87
- await this.app.workspace.getRightLeaf(false).setViewState({
+ await this.app.workspace.getRightLeaf(false)?.setViewState({
88
type: type,
89
active: true,
90
});
0 commit comments