Skip to content

Commit

Permalink
0.9.21
Browse files Browse the repository at this point in the history
  • Loading branch information
jp-cen committed May 15, 2024
1 parent b354472 commit 5ff9d44
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 4 deletions.
11 changes: 8 additions & 3 deletions main.js
Original file line number Diff line number Diff line change
Expand Up @@ -91433,8 +91433,8 @@ var Indexer = class {
{
space: space2,
mdb,
paths: [...this.cache.spacesMap.getInverse(job.path)],
oldCache: this.cache.contextsIndex.get(job.path),
paths: [...this.cache.spacesMap.getInverse(space2.path)],
oldCache: this.cache.contextsIndex.get(space2.path),
dbExists
}
);
Expand Down Expand Up @@ -91926,6 +91926,9 @@ var Superstate2 = class {
this.dispatchEvent("pathStateUpdated", { path });
}
onMetadataChange(path) {
if (!this.pathsIndex.has(path)) {
return;
}
this.reloadPath(path).then(
(f2) => {
const pathState = this.pathsIndex.get(path);
Expand Down Expand Up @@ -133672,7 +133675,9 @@ var ObsidianFileSystem = class {
return null;
}
const fileStat = await this.plugin.app.vault.adapter.stat(path);
const type = fileStat.type;
if (!fileStat)
return null;
const type = fileStat?.type;
const extension = type == "file" ? path.split(".").pop() : null;
const folder = path.split("/").slice(0, -1).join("/");
const filename = path.split("/").pop();
Expand Down
2 changes: 1 addition & 1 deletion manifest.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "make-md",
"name": "MAKE.md",
"version": "0.9.20",
"version": "0.9.21",
"minAppVersion": "0.16.0",
"description": "Make.md brings powerful and modern note-taking features to Obsidian. Capture, organize and connect information with more flexibility without any code.",
"author": "MAKE.md",
Expand Down

0 comments on commit 5ff9d44

Please sign in to comment.