fixed typo

This commit is contained in:
Utsob Roy 2023-03-23 07:48:49 +06:00 committed by Ole Eskild Steensen
parent 2ee91a928e
commit 1a3e1fae66

View File

@ -83,7 +83,7 @@ function getPermalinkMeta(note, key) {
if (note.data["dg-path"]) {
folders = note.data["dg-path"].split("/");
} else {
folders = note.filePathStem.split
folders = note.filePathStem
.split("notes/")[1]
.split("/")
.map(toTitleCase);