1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Desktop: Enable TLS options for Joplin Server

This commit is contained in:
Laurent Cozic 2021-01-22 00:31:10 +00:00
parent 0c09202950
commit d4a6078392
2 changed files with 2 additions and 3 deletions

View File

@ -78,7 +78,6 @@ export default function Sidebar(props: Props) {
if (s1 === SettingSectionSource.Plugin && s2 === SettingSectionSource.Default) return +1;
return 0;
});
console.info('SORTED', output);
return output;
}, [props.sections]);

View File

@ -863,7 +863,7 @@ class Setting extends BaseModel {
section: 'sync',
advanced: true,
show: (settings: any) => {
return [SyncTargetRegistry.nameToId('nextcloud'), SyncTargetRegistry.nameToId('webdav')].indexOf(settings['sync.target']) >= 0;
return [SyncTargetRegistry.nameToId('nextcloud'), SyncTargetRegistry.nameToId('webdav'), SyncTargetRegistry.nameToId('joplinServer')].indexOf(settings['sync.target']) >= 0;
},
public: true,
appTypes: ['desktop', 'cli'],
@ -876,7 +876,7 @@ class Setting extends BaseModel {
advanced: true,
section: 'sync',
show: (settings: any) => {
return [SyncTargetRegistry.nameToId('nextcloud'), SyncTargetRegistry.nameToId('webdav')].indexOf(settings['sync.target']) >= 0;
return [SyncTargetRegistry.nameToId('nextcloud'), SyncTargetRegistry.nameToId('webdav'), SyncTargetRegistry.nameToId('joplinServer')].indexOf(settings['sync.target']) >= 0;
},
public: true,
appTypes: ['desktop', 'cli'],