Skip to content

Commit

Permalink
feat(Vis View): ✨ Cmd to open (fix #145)
Browse files Browse the repository at this point in the history
  • Loading branch information
SkepticMystic committed Nov 19, 2021
1 parent dc77914 commit 74992ad
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
7 changes: 7 additions & 0 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -35392,6 +35392,13 @@ class BCPlugin extends obsidian.Plugin {
},
});
}
this.addCommand({
id: "open-vis-modal",
name: "Open Visualisation Modal",
callback: async () => {
new VisModal(this.app, this).open();
},
});
this.addCommand({
id: "Refresh-Breadcrumbs-Index",
name: "Refresh Breadcrumbs Index",
Expand Down
8 changes: 8 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -172,6 +172,14 @@ export default class BCPlugin extends Plugin {
});
}

this.addCommand({
id: "open-vis-modal",
name: "Open Visualisation Modal",
callback: async () => {
new VisModal(this.app, this).open();
},
});

this.addCommand({
id: "Refresh-Breadcrumbs-Index",
name: "Refresh Breadcrumbs Index",
Expand Down

0 comments on commit 74992ad

Please sign in to comment.