(task: TaskInfo, newTab: boolean)
| 2742 | } |
| 2743 | |
| 2744 | private openTaskNote(task: TaskInfo, newTab: boolean): void { |
| 2745 | const app = this.app || this.plugin.app; |
| 2746 | const file = app.vault.getAbstractFileByPath(task.path); |
| 2747 | if (file instanceof TFile) { |
| 2748 | if (newTab) { |
| 2749 | void app.workspace.openLinkText(task.path, "", true); |
| 2750 | } else { |
| 2751 | void app.workspace.getLeaf(false).openFile(file); |
| 2752 | } |
| 2753 | } |
| 2754 | } |
| 2755 | |
| 2756 | private async filterProjectSubtasks(task: TaskInfo): Promise<void> { |
| 2757 | try { |
no test coverage detected