mirror of
https://github.com/caffa/Obsidian-Current-Folder-Note-Display-Plugin.git
synced 2026-07-22 09:50:27 +00:00
all things
This commit is contained in:
parent
77b086e8f4
commit
66e8e00fcd
2 changed files with 1 additions and 24 deletions
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"id": "current-folder-notes-pamphlet",
|
||||
"name": "Current Folder Notes",
|
||||
"version": "1.2.0",
|
||||
"version": "1.2.1",
|
||||
"minAppVersion": "0.15.0",
|
||||
"description": "Shows a list of notes in the current folder, and allows you to filter the titles to include or exclude notes.",
|
||||
"author": "Pamela Wang",
|
||||
|
|
|
|||
23
main.ts
23
main.ts
|
|
@ -56,29 +56,6 @@ export default class CurrentFolderNotesDisplay extends Plugin {
|
|||
// let view = this.app.workspace.getActiveViewOfType(CurrentFolderNotesDisplayView);
|
||||
this.refreshView();
|
||||
|
||||
// if (!view) {
|
||||
// // If there is no active CurrentFolderNotesDisplayView, open one
|
||||
// const leaf = this.app.workspace.getRightLeaf(false);
|
||||
// if (leaf) {
|
||||
// view = new CurrentFolderNotesDisplayView(leaf, this);
|
||||
// leaf.setViewState({
|
||||
// type: VIEW_TYPE_CURRENT_FOLDER_NOTES_DISPLAY,
|
||||
// active: true,
|
||||
// });
|
||||
// }
|
||||
// }
|
||||
// if (views.length > 0) {
|
||||
// // If there is an active CurrentFolderNotesDisplayView, update it
|
||||
// views[0].fileChangeHandler(file);
|
||||
// // Close other CurrentFolderNotesDisplayView instances
|
||||
// for (let i = 1; i < views.length; i++) {
|
||||
// views[i].detach();
|
||||
// }
|
||||
// }
|
||||
// if (view) {
|
||||
// view.fileChangeHandler(file);
|
||||
// // new Notice('File opened');
|
||||
// }
|
||||
}));
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue