small refactorings

This commit is contained in:
zadam
2023-06-29 22:10:13 +02:00
parent f4ec4e58c7
commit 48029cea7c
37 changed files with 95 additions and 155 deletions

View File

@@ -13,7 +13,7 @@ const assetPath = require("../services/asset_path");
const appPath = require("../services/app_path");
function index(req, res) {
const options = optionService.getOptionsMap();
const options = optionService.getOptionMap();
let view = (!utils.isElectron() && req.cookies['trilium-device'] === 'mobile')
? 'mobile'