SiaPrime changes
This commit is contained in:
@@ -198,7 +198,7 @@ class MountItems extends Component {
|
||||
(this.props.sia.MountLocation.length > 0)) {
|
||||
this.handleMountUnMount('Sia', true, this.props.sia.MountLocation);
|
||||
}
|
||||
if (this.props.siaprime.AutoMount &&
|
||||
if (this.props.allowSiaPrime && this.props.siaprime.AutoMount &&
|
||||
!this.state.SiaPrime.Mounted &&
|
||||
(this.props.siaprime.MountLocation.length > 0)) {
|
||||
this.handleMountUnMount('SiaPrime', true, this.props.siaprime.MountLocation);
|
||||
@@ -250,6 +250,7 @@ class MountItems extends Component {
|
||||
changed={(e) => this.handleMountLocationChanged('SiaPrime', e.target.value)}
|
||||
clicked={this.handleMountUnMount}
|
||||
configClicked={()=>this.props.configClicked('SiaPrime')}
|
||||
disabled={!this.props.allowSiaPrime}
|
||||
items={this.state.SiaPrime.DriveLetters}
|
||||
location={this.props.siaprime.MountLocation}
|
||||
mounted={this.state.SiaPrime.Mounted}
|
||||
|
||||
Reference in New Issue
Block a user