Mark Skynet as experimental
This commit is contained in:
@@ -111,7 +111,6 @@ class App extends IPCContainer {
|
|||||||
|
|
||||||
let s3Supported = this.props.LocationsLookup[selectedVersion] &&
|
let s3Supported = this.props.LocationsLookup[selectedVersion] &&
|
||||||
this.props.LocationsLookup[selectedVersion].s3_support;
|
this.props.LocationsLookup[selectedVersion].s3_support;
|
||||||
s3Supported = true;
|
|
||||||
|
|
||||||
const skynetSupported = this.props.LocationsLookup[selectedVersion] &&
|
const skynetSupported = this.props.LocationsLookup[selectedVersion] &&
|
||||||
this.props.LocationsLookup[selectedVersion].skynet_support;
|
this.props.LocationsLookup[selectedVersion].skynet_support;
|
||||||
|
|||||||
@@ -176,6 +176,7 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
|
|||||||
</RootElem>);
|
</RootElem>);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const isSkynet = (props.provider === 'Skynet');
|
||||||
return (
|
return (
|
||||||
<div className={'MountItem'}>
|
<div className={'MountItem'}>
|
||||||
<Grid noScroll>
|
<Grid noScroll>
|
||||||
@@ -183,21 +184,27 @@ export default connect(mapStateToProps, mapDispatchToProps)(props => {
|
|||||||
<Text
|
<Text
|
||||||
col={configButton ? 6 : 0}
|
col={configButton ? 6 : 0}
|
||||||
rowSpan={5}
|
rowSpan={5}
|
||||||
text={props.remote ? props.provider.substr(6) : props.s3 ? props.provider.substr(2) : props.provider}
|
colSpan={90}
|
||||||
|
text={props.remote ? props.provider.substr(6) : props.s3 ? props.provider.substr(2) : isSkynet ? props.provider + ' [EXPERIMENTAL]' : props.provider}
|
||||||
|
textAlign={'Left'}
|
||||||
type={'Heading2'}/>
|
type={'Heading2'}/>
|
||||||
{((props.provider === 'Skynet') && (props.MState.Mounted)) ? (
|
{(isSkynet && (props.MState.Mounted)) ? (
|
||||||
<a href={'#'}
|
<a href={'#'}
|
||||||
col={configButton ? 24 : 18}
|
col={configButton ? 24 : 18}
|
||||||
onClick={props.MState.AllowMount ? () => props.displaySkynetExport(true) : e => {e.preventDefault();}}
|
onClick={props.MState.AllowMount ? () => props.displaySkynetExport(true) : e => {
|
||||||
|
e.preventDefault();
|
||||||
|
}}
|
||||||
rowSpan={5}
|
rowSpan={5}
|
||||||
style={{...pointer, fontWeight: 'normal'}}>
|
style={{...pointer, fontWeight: 'normal'}}>
|
||||||
<u>Export</u>
|
<u>Export</u>
|
||||||
</a>
|
</a>
|
||||||
) : null}
|
) : null}
|
||||||
{((props.provider === 'Skynet') && (props.MState.Mounted)) ? (
|
{(isSkynet && (props.MState.Mounted)) ? (
|
||||||
<a href={'#'}
|
<a href={'#'}
|
||||||
col={configButton ? 24 + 13 : 18 + 13}
|
col={configButton ? 24 + 13 : 18 + 13}
|
||||||
onClick={props.MState.AllowMount ? () => props.displaySkynetImport(true) : e => {e.preventDefault();}}
|
onClick={props.MState.AllowMount ? () => props.displaySkynetImport(true) : e => {
|
||||||
|
e.preventDefault();
|
||||||
|
}}
|
||||||
rowSpan={5}
|
rowSpan={5}
|
||||||
style={{...pointer, fontWeight: 'normal'}}>
|
style={{...pointer, fontWeight: 'normal'}}>
|
||||||
<u>Import</u>
|
<u>Import</u>
|
||||||
|
|||||||
Reference in New Issue
Block a user