Merge remote-tracking branch 'origin/stable'

This commit is contained in:
zadam
2021-01-15 22:23:56 +01:00
5 changed files with 22 additions and 8 deletions

View File

@@ -100,10 +100,10 @@ function initStartupOptions() {
}
}
if (process.env.TRILIUM_START_NOTE_ID) {
if (process.env.TRILIUM_START_NOTE_ID || process.env.TRILIUM_SAFE_MODE) {
optionService.setOption('openTabs', JSON.stringify([
{
notePath: process.env.TRILIUM_START_NOTE_ID,
notePath: process.env.TRILIUM_START_NOTE_ID || 'root',
active: true
}
]));