mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 05:46:10 +01:00
layout fixes
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import server from "./server.js";
|
||||
import bundleService from "./bundle.js";
|
||||
|
||||
async function render(note, $el, tabContext) {
|
||||
async function render(note, $el) {
|
||||
const relations = await note.getRelations('renderNote');
|
||||
const renderNoteIds = relations
|
||||
.map(rel => rel.value)
|
||||
@@ -18,7 +18,7 @@ async function render(note, $el, tabContext) {
|
||||
$scriptContainer.append(bundle.html);
|
||||
|
||||
// async so that scripts cannot block trilium execution
|
||||
bundleService.executeBundle(bundle, note, tabContext, $scriptContainer);
|
||||
bundleService.executeBundle(bundle, note, $scriptContainer);
|
||||
}
|
||||
|
||||
return renderNoteIds.length > 0;
|
||||
|
||||
Reference in New Issue
Block a user