mirror of
https://github.com/bramses/bramses-highly-opinionated-vault-2023.git
synced 2025-02-26 07:53:55 +00:00
vault backup: 2022-12-09 12:59:39
This commit is contained in:
@@ -25,10 +25,19 @@ module.exports = async function listFiles(params) {
|
||||
//then sort the files in the inner folder
|
||||
|
||||
|
||||
const ROOT = "_PARA/Projects/";
|
||||
const Kanban = "Kanban.md";
|
||||
const Scratchpad = "Scratchpad.md";
|
||||
|
||||
|
||||
// Display files to select
|
||||
const notesDisplay = await params.quickAddApi.suggester(
|
||||
(files) => files.path.replace(".md", ""),
|
||||
(files) => files.path
|
||||
.replace(ROOT, "")
|
||||
.replace(Kanban, "")
|
||||
.replace(Scratchpad, "")
|
||||
.replace(".md", "")
|
||||
.replace("/", ""),
|
||||
files
|
||||
);
|
||||
|
||||
|
||||
8
_scripts/quick-add-projects-folder-kanban-variables.js
Normal file
8
_scripts/quick-add-projects-folder-kanban-variables.js
Normal file
@@ -0,0 +1,8 @@
|
||||
module.exports = (params) => {
|
||||
params.variables.fileType = {
|
||||
folder: "Projects",
|
||||
//folderExclude: "",
|
||||
// There's no folder to exclude so I commented it out
|
||||
filename:"Kanban"
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user