#31: New installation displays 'Mount location is not set' on Windows

This commit is contained in:
2019-08-07 21:34:22 -05:00
parent 1216854f7f
commit c20989c3ba
3 changed files with 8 additions and 2 deletions

View File

@@ -223,7 +223,10 @@ class MountItems extends IPCContainer {
}
if (location !== providerState.MountLocation) {
this.handleMountLocationChanged(provider, location);
const value = (this.props.Platform === 'win32') ?
data.DriveLetters[provider].indexOf(location) :
location;
this.handleMountLocationChanged(provider, value);
}
if (!this.props.AutoMountProcessed &&