#40: Support for remote Windows mounts - partial

This commit is contained in:
2019-10-01 12:25:39 -05:00
parent 888a84f5a7
commit 686774741f
4 changed files with 36 additions and 19 deletions

View File

@@ -102,6 +102,9 @@ class App extends IPCContainer {
const noConsoleSupported = this.props.LocationsLookup[selectedVersion] &&
this.props.LocationsLookup[selectedVersion].no_console_supported;
const remoteSupported = this.props.LocationsLookup[selectedVersion] &&
this.props.LocationsLookup[selectedVersion].supports_remote;
const showConfig = !missingDependencies &&
this.props.DisplayConfiguration &&
!this.props.RebootRequired &&
@@ -124,7 +127,7 @@ class App extends IPCContainer {
const infoDisplay = this.createModalConditionally(this.props.DisplayInfo, <InfoDetails/>, true);
const rebootDisplay = this.createModalConditionally(this.props.RebootRequired, <Reboot />);
const configDisplay = this.createModalConditionally(showConfig, <Configuration version={selectedVersion} />);
const configDisplay = this.createModalConditionally(showConfig, <Configuration version={selectedVersion} remoteSupported={remoteSupported} />);
const dependencyDisplay = this.createModalConditionally(showDependencies, <DependencyList/>);
const downloadDisplay = this.createModalConditionally(this.props.DownloadActive, <DownloadProgress/>);
const errorDisplay = this.createModalConditionally(this.props.DisplayError, <ErrorDetails/>, true);
@@ -138,7 +141,7 @@ class App extends IPCContainer {
let key = 0;
mainContent.push((
<div key={'rvd_' + key++}
style={{height: '32%'}}>
style={{'paddingBottom': '8px'}}>
<ReleaseVersionDisplay downloadDisabled={!downloadEnabled}
version={selectedVersion}/>
</div>
@@ -146,11 +149,10 @@ class App extends IPCContainer {
if (allowMount) {
mainContent.push((
<div key={'md_' + key++}>
<MountItems allowConfig={allowConfig}
allowSiaPrime={allowSiaPrime}
key={'md_' + key++}
noConsoleSupported={noConsoleSupported}/>
</div>
));
}
}