Archived
Fix Linux settings
This commit is contained in:
1 parent
f3c70072c1
commit
ab5429d5e7
1 file changed
+3
-1
@@ -233,7 +233,9 @@ class Configuration extends IPCContainer {
|
||||
this.props.remoteSupported &&
|
||||
(item.label !== 'IsRemoteMount')) {
|
||||
const isRemoteMount = JSON.parse(itemList.find(s => s.label === 'IsRemoteMount').value);
|
||||
const enableRemoteMount = JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value);
|
||||
const enableRemoteMount = !isRemoteMount &&
|
||||
(this.props.Platform === 'win32') &&
|
||||
JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value);
|
||||
return (item.label === 'RemoteHostNameOrIp') ?
|
||||
isRemoteMount :
|
||||
(item.label === 'RemotePort') || (item.label === 'RemoteToken') ?
|
||||
|
||||
Reference in new issue
Block a user