mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 10:40:41 +01:00
return only startup bundles for executale notes
This commit is contained in:
@@ -36,7 +36,9 @@ router.get('/startup', auth.checkApiAuth, wrap(async (req, res, next) => {
|
||||
for (const note of notes) {
|
||||
const bundle = await script.getScriptBundle(note);
|
||||
|
||||
scripts.push(bundle);
|
||||
if (bundle) {
|
||||
scripts.push(bundle);
|
||||
}
|
||||
}
|
||||
|
||||
res.send(scripts);
|
||||
|
||||
Reference in New Issue
Block a user