1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-11-26 22:41:17 +02:00

Keep Joplin Server name for now

This commit is contained in:
Laurent Cozic
2021-06-02 09:56:24 +02:00
parent 42891e37a1
commit 1d2a3a97d2
4 changed files with 7 additions and 21 deletions

View File

@@ -472,24 +472,10 @@ class Setting extends BaseModel {
return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
},
public: true,
label: () => _('Joplin Cloud URL'),
label: () => _('Joplin Server URL'),
description: () => emptyDirWarning,
storage: SettingStorage.File,
},
// 'sync.9.directory': {
// value: 'Apps/Joplin',
// type: SettingItemType.String,
// section: 'sync',
// show: (settings: any) => {
// return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
// },
// filter: value => {
// return value ? ltrimSlashes(rtrimSlashes(value)) : '';
// },
// public: true,
// label: () => _('Joplin Cloud Directory'),
// storage: SettingStorage.File,
// },
'sync.9.username': {
value: '',
type: SettingItemType.String,
@@ -498,7 +484,7 @@ class Setting extends BaseModel {
return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
},
public: true,
label: () => _('Joplin Cloud email'),
label: () => _('Joplin Server email'),
storage: SettingStorage.File,
},
'sync.9.password': {
@@ -509,7 +495,7 @@ class Setting extends BaseModel {
return settings['sync.target'] == SyncTargetRegistry.nameToId('joplinServer');
},
public: true,
label: () => _('Joplin Cloud password'),
label: () => _('Joplin Server password'),
secure: true,
},