[#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:
2021-03-08 16:25:06 -06:00
parent ef5ae37656
commit 721a08c33f
5 changed files with 34 additions and 12 deletions

View File

@@ -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] &&