[#52: Mount location is not set error on new install] [#49: Download progress is not visible if dependencies are missing] [#51: javascript error] [#53: Busy notification is still visible when 'Install' button is available]
This commit is contained in:
@@ -304,15 +304,12 @@ class MountItems extends IPCContainer {
|
||||
const providerState = this.props.ProviderState[provider];
|
||||
if (location.length === 0) {
|
||||
location = (this.props.Platform === 'win32') ?
|
||||
providerState.MountLocation || driveLetters[0] :
|
||||
!providerState.MountLocation || providerState.MountLocation.trim().length === 0 ? driveLetters[0] : providerState.MountLocation :
|
||||
providerState.MountLocation;
|
||||
}
|
||||
|
||||
if (location !== providerState.MountLocation) {
|
||||
const value = (this.props.Platform === 'win32') ?
|
||||
driveLetters.indexOf(location) :
|
||||
location;
|
||||
this.handleMountLocationChanged(provider, value);
|
||||
this.handleMountLocationChanged(provider, location);
|
||||
}
|
||||
|
||||
if (!this.props.AutoMountProcessed[provider] &&
|
||||
|
||||
Reference in New Issue
Block a user