#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

@@ -28,7 +28,7 @@ exports.DEV_PUBLIC_KEY = '-----BEGIN PUBLIC KEY-----\n' +
'-----END PUBLIC KEY-----';
const REPERTORY_BRANCH = '1.0.1-release_branch';
const REPERTORY_BRANCH = '1.0.2-release_branch';
const REPERTORY_UI_BRANCH = '1.0.7_branch';
exports.RELEASES_URL = 'https://bitbucket.org/blockstorage/repertory/raw/' + REPERTORY_BRANCH + '/releases.json';

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