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;
|
if (s1 === SettingSectionSource.Plugin && s2 === SettingSectionSource.Default) return +1;
|
||||||
return 0;
|
return 0;
|
||||||
});
|
});
|
||||||
console.info('SORTED', output);
|
|
||||||
return output;
|
return output;
|
||||||
}, [props.sections]);
|
}, [props.sections]);
|
||||||
|
|
||||||
|
@ -863,7 +863,7 @@ class Setting extends BaseModel {
|
|||||||
section: 'sync',
|
section: 'sync',
|
||||||
advanced: true,
|
advanced: true,
|
||||||
show: (settings: any) => {
|
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,
|
public: true,
|
||||||
appTypes: ['desktop', 'cli'],
|
appTypes: ['desktop', 'cli'],
|
||||||
@ -876,7 +876,7 @@ class Setting extends BaseModel {
|
|||||||
advanced: true,
|
advanced: true,
|
||||||
section: 'sync',
|
section: 'sync',
|
||||||
show: (settings: any) => {
|
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,
|
public: true,
|
||||||
appTypes: ['desktop', 'cli'],
|
appTypes: ['desktop', 'cli'],
|
||||||
|
Loading…
Reference in New Issue
Block a user