mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
don't alert in case of updated note in current editor
This commit is contained in:
@@ -11,7 +11,7 @@ const auth = require('../../services/auth');
|
||||
router.get('/:noteId', auth.checkApiAuth, async (req, res, next) => {
|
||||
let noteId = req.params.noteId;
|
||||
|
||||
await sql.execute("update options set opt_value = ? where opt_name = 'start_node'", [noteId]);
|
||||
await options.setOption('start_node', noteId);
|
||||
|
||||
let detail = await sql.getSingleResult("select * from notes where note_id = ?", [noteId]);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user