Skip to content

Commit

Permalink
fix: don't show current note when indexNote?
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Jul 20, 2021
1 parent 00901ae commit 5cd032c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/MatrixView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,9 @@ export default class MatrixView extends ItemView {
this.app.workspace.onLayoutReady(async () => {
setTimeout(async () => await this.draw(), DATAVIEW_INDEX_DELAY);
});
// this.app.workspace.on("dataview:api-ready", () =>
// console.log("dv ready")
// );
}

onClose(): Promise<void> {
Expand Down
8 changes: 4 additions & 4 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -273,10 +273,10 @@ export default class BreadcrumbsPlugin extends Plugin {
breadcrumbs.push(step);
step = paths[step].predecessor;
}
if (breadcrumbs.length > 0) {
// Add the last step
breadcrumbs.push(from);
}
// if (breadcrumbs.length > 0) {
// // Add the last step
// breadcrumbs.push(from);
// }
allTrails.push(breadcrumbs);
}
});
Expand Down

0 comments on commit 5cd032c

Please sign in to comment.