mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 01:36:24 +01:00
startup script running fix
This commit is contained in:
@@ -1,5 +1,6 @@
|
||||
import treeService from './tree.js';
|
||||
import server from './server.js';
|
||||
import utils from './utils.js';
|
||||
|
||||
function ScriptApi(startNote, currentNote) {
|
||||
const $pluginButtons = $("#plugin-buttons");
|
||||
@@ -52,7 +53,8 @@ function ScriptApi(startNote, currentNote) {
|
||||
addButtonToToolbar,
|
||||
activateNote,
|
||||
getInstanceName: () => window.glob.instanceName,
|
||||
runOnServer
|
||||
runOnServer,
|
||||
formatDateISO: utils.formatDateISO
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user