Fix Linux settings
This commit is contained in:
@@ -233,7 +233,9 @@ class Configuration extends IPCContainer {
|
|||||||
this.props.remoteSupported &&
|
this.props.remoteSupported &&
|
||||||
(item.label !== 'IsRemoteMount')) {
|
(item.label !== 'IsRemoteMount')) {
|
||||||
const isRemoteMount = JSON.parse(itemList.find(s => s.label === 'IsRemoteMount').value);
|
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') ?
|
return (item.label === 'RemoteHostNameOrIp') ?
|
||||||
isRemoteMount :
|
isRemoteMount :
|
||||||
(item.label === 'RemotePort') || (item.label === 'RemoteToken') ?
|
(item.label === 'RemotePort') || (item.label === 'RemoteToken') ?
|
||||||
|
|||||||
Reference in New Issue
Block a user