Update quick-add-create-project-folder.js

changed queryMarkdown so that Templater recognizes "'"
This commit is contained in:
Bram Adams
2022-12-22 21:11:45 -05:00
committed by GitHub
parent ba0187b5df
commit 5992a1e791

View File

@@ -59,7 +59,7 @@ where contains(projects, "${userInput.replace(/ /g, "-")}")
\`\`\` \`\`\`
< % * < % *
const dv = this.app.plugins.plugins["dataview"].api ; const dv = this.app.plugins.plugins["dataview"].api ;
const arr = await dv.queryMarkdown(\`LIST where contains(projects, "${userInput}")\`) const arr = await dv.queryMarkdown('LIST where contains(projects, "${userInput.replace(/ /g, "-")}")')
tR += arr.value tR += arr.value
% > % >
\`\`\`\n\n` \`\`\`\n\n`