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:
parent
0c09202950
commit
d4a6078392
@ -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]);
|
||||
|
||||
|
@ -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'],
|
||||
|
Loading…
Reference in New Issue
Block a user