mirror of
https://github.com/zadam/trilium.git
synced 2025-11-16 02:05:53 +01:00
many small issues found by intellij analysis
This commit is contained in:
@@ -21,7 +21,7 @@ module.exports = {
|
||||
isSyncSetup: () => {
|
||||
const syncServerHost = get('syncServerHost');
|
||||
|
||||
// special value "disabled" is here to support use case where document is configured with sync server
|
||||
// special value "disabled" is here to support use case where document is configured with sync server,
|
||||
// and we need to override it with config from config.ini
|
||||
return !!syncServerHost && syncServerHost !== 'disabled';
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user