fixed typo

This commit is contained in:
Utsob Roy 2023-03-23 07:48:49 +06:00 committed by Ole Eskild Steensen
parent e258be16d4
commit 8fcf7255d5

View File

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