Bugfix for #17 - plugin closes most recent tab
Version bump for release
This commit is contained in:
parent
2ac5a12a2c
commit
57b1cd8ae2
|
@ -1,7 +1,7 @@
|
||||||
{
|
{
|
||||||
"id": "custom-sort",
|
"id": "custom-sort",
|
||||||
"name": "Custom File Explorer sorting",
|
"name": "Custom File Explorer sorting",
|
||||||
"version": "0.7.2",
|
"version": "0.8.1",
|
||||||
"minAppVersion": "0.15.0",
|
"minAppVersion": "0.15.0",
|
||||||
"description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer",
|
"description": "Allows for manual and automatic, config-driven reordering and sorting of files and folders in File Explorer",
|
||||||
"author": "SebastianMC <SebastianMC.github@gmail.com>",
|
"author": "SebastianMC <SebastianMC.github@gmail.com>",
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"name": "obsidian-custom-sort",
|
"name": "obsidian-custom-sort",
|
||||||
"version": "0.7.2",
|
"version": "0.8.1",
|
||||||
"description": "Custom Sort plugin for Obsidian (https://obsidian.md)",
|
"description": "Custom Sort plugin for Obsidian (https://obsidian.md)",
|
||||||
"main": "main.js",
|
"main": "main.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
|
|
|
@ -235,7 +235,7 @@ export default class CustomSortPlugin extends Plugin {
|
||||||
// For the idea of monkey-patching credits go to https://github.com/nothingislost/obsidian-bartender
|
// For the idea of monkey-patching credits go to https://github.com/nothingislost/obsidian-bartender
|
||||||
patchFileExplorerFolder() {
|
patchFileExplorerFolder() {
|
||||||
let plugin = this;
|
let plugin = this;
|
||||||
let leaf = this.app.workspace.getLeaf();
|
let leaf = this.app.workspace.getLeaf(true);
|
||||||
const fileExplorer = this.app.viewRegistry.viewByType["file-explorer"](leaf) as FileExplorerView;
|
const fileExplorer = this.app.viewRegistry.viewByType["file-explorer"](leaf) as FileExplorerView;
|
||||||
// @ts-ignore
|
// @ts-ignore
|
||||||
let tmpFolder = new TFolder(Vault, "");
|
let tmpFolder = new TFolder(Vault, "");
|
||||||
|
|
|
@ -6,5 +6,7 @@
|
||||||
"0.6.2": "0.12.0",
|
"0.6.2": "0.12.0",
|
||||||
"0.7.0": "0.15.0",
|
"0.7.0": "0.15.0",
|
||||||
"0.7.1": "0.15.0",
|
"0.7.1": "0.15.0",
|
||||||
"0.7.2": "0.15.0"
|
"0.7.2": "0.15.0",
|
||||||
|
"0.8.0": "0.15.0",
|
||||||
|
"0.8.1": "0.15.0"
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue