Disable 'EnableRemoteMount' for non-Windows systems

This commit is contained in:
2019-10-16 14:26:20 -05:00
parent a29f74ee5c
commit 33ea659c65

View File

@@ -154,6 +154,8 @@ 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));
@@ -330,6 +332,7 @@ const mapStateToProps = state => {
return {
DisplayConfiguration: state.mounts.DisplayConfiguration,
DisplayRemoteConfiguration: state.mounts.DisplayRemoteConfiguration,
Platform: state.common.Platform,
}
};