Archived
Disable 'EnableRemoteMount' for non-Windows systems
This commit is contained in:
1 parent
a29f74ee5c
commit
33ea659c65
1 file changed
+3
@@ -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,
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user