mirror of
https://github.com/zadam/trilium.git
synced 2025-06-05 01:18:44 +02:00
return only startup bundles for executale notes
This commit is contained in:
parent
b2df622cb6
commit
895bda41b5
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user