Enable remote mounts on non-Windows systems
This commit is contained in:
@@ -154,8 +154,6 @@ class Configuration extends IPCContainer {
|
||||
delete objectLookup[obj.label];
|
||||
}
|
||||
}
|
||||
} else if (this.props.remoteSupported && !isRemoteMount && (this.props.Platform !== 'win32')) {
|
||||
delete objectLookup['RemoteMount'];
|
||||
}
|
||||
|
||||
const objectLookupCopy = JSON.parse(JSON.stringify(objectLookup));
|
||||
@@ -234,7 +232,6 @@ class Configuration extends IPCContainer {
|
||||
(item.label !== 'IsRemoteMount')) {
|
||||
const isRemoteMount = JSON.parse(itemList.find(s => s.label === 'IsRemoteMount').value);
|
||||
const enableRemoteMount = !isRemoteMount &&
|
||||
(this.props.Platform === 'win32') &&
|
||||
JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value);
|
||||
return (item.label === 'RemoteHostNameOrIp') ?
|
||||
isRemoteMount :
|
||||
|
||||
Reference in New Issue
Block a user