mirror of
https://github.com/zadam/trilium.git
synced 2025-10-30 09:56:36 +01:00
left pane sizing taking effect
This commit is contained in:
@@ -9,10 +9,7 @@ const ALLOWED_OPTIONS = ['protectedSessionTimeout', 'noteRevisionSnapshotTimeInt
|
||||
'zoomFactor', 'theme', 'syncServerHost', 'syncServerTimeout', 'syncProxy', 'leftPaneMinWidth', 'leftPaneWidthPercent'];
|
||||
|
||||
async function getOptions() {
|
||||
const options = await sql.getMap("SELECT name, value FROM options WHERE name IN ("
|
||||
+ ALLOWED_OPTIONS.map(x => '?').join(",") + ")", ALLOWED_OPTIONS);
|
||||
|
||||
return options;
|
||||
return await optionService.getOptionsMap(ALLOWED_OPTIONS);
|
||||
}
|
||||
|
||||
async function updateOption(req) {
|
||||
|
||||
Reference in New Issue
Block a user