Support remote send and receive timeouts

This commit is contained in:
2020-01-10 15:19:07 -06:00
parent e7ee28624c
commit 617d7f1c42
2 changed files with 3 additions and 2 deletions

View File

@@ -235,7 +235,7 @@ class Configuration extends IPCContainer {
JSON.parse(itemList.find(s => s.label === 'EnableRemoteMount').value);
return (item.label === 'RemoteHostNameOrIp') || (item.label === 'RemoteMaxConnections') ?
isRemoteMount :
(item.label === 'RemotePort') || (item.label === 'RemoteToken') ?
(item.label === 'RemoteReceiveTimeoutSeconds') || (item.label === 'RemoteSendTimeoutSeconds') || (item.label === 'RemotePort') || (item.label === 'RemoteToken') ?
isRemoteMount || enableRemoteMount :
(item.label === 'EnableRemoteMount') ?
!isRemoteMount :
@@ -342,4 +342,4 @@ const mapDispatchToProps = dispatch => {
}
};
export default connect(mapStateToProps, mapDispatchToProps)(Configuration);
export default connect(mapStateToProps, mapDispatchToProps)(Configuration);