mirror of
https://github.com/zadam/trilium.git
synced 2025-11-15 17:55:52 +01:00
added "include note" widget to text notes, WIP
This commit is contained in:
@@ -6,6 +6,7 @@ const attributeService = require('../services/attributes');
|
||||
const config = require('../services/config');
|
||||
const optionService = require('../services/options');
|
||||
const log = require('../services/log');
|
||||
const env = require('../services/env');
|
||||
|
||||
async function index(req, res) {
|
||||
const options = await optionService.getOptionsMap();
|
||||
@@ -24,7 +25,8 @@ async function index(req, res) {
|
||||
sourceId: await sourceIdService.generateSourceId(),
|
||||
maxSyncIdAtLoad: await sql.getValue("SELECT MAX(id) FROM sync"),
|
||||
instanceName: config.General ? config.General.instanceName : null,
|
||||
appCssNoteIds: await getAppCssNoteIds()
|
||||
appCssNoteIds: await getAppCssNoteIds(),
|
||||
isDev: env.isDev()
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user