mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 09:45:52 +01:00
reimplementation of frontend's api.addButtonToToolbar() to smoothen the upgrade
This commit is contained in:
@@ -74,6 +74,10 @@ function resetLauncher(req) {
|
||||
return specialNotesService.resetLauncher(req.params.noteId);
|
||||
}
|
||||
|
||||
function createOrUpdateScriptLauncherFromApi(req) {
|
||||
return specialNotesService.createOrUpdateScriptLauncherFromApi(req.body);
|
||||
}
|
||||
|
||||
module.exports = {
|
||||
getInboxNote,
|
||||
getDayNote,
|
||||
@@ -86,5 +90,6 @@ module.exports = {
|
||||
createSearchNote,
|
||||
saveSearchNote,
|
||||
createLauncher,
|
||||
resetLauncher
|
||||
resetLauncher,
|
||||
createOrUpdateScriptLauncherFromApi
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user