[Repertory release notification icon] [Prevent release change when mount is busy] [Initial loading animation]
This commit is contained in:
@@ -35,6 +35,8 @@ class MountItems extends Component {
|
||||
Sia: sia,
|
||||
});
|
||||
|
||||
this.props.mountsBusy(hs.Mounted || sia.Mounted);
|
||||
|
||||
let hsLocation = arg.data.Locations.Hyperspace;
|
||||
if ((hsLocation.length === 0) && (this.props.platform === 'win32')) {
|
||||
hsLocation = this.props.hyperspace.MountLocation || arg.data.DriveLetters.Hyperspace[0];
|
||||
@@ -92,6 +94,7 @@ class MountItems extends Component {
|
||||
};
|
||||
|
||||
detectMounts = ()=> {
|
||||
this.props.mountsBusy(true);
|
||||
ipcRenderer.send('detect_mounts', {
|
||||
Directory: this.props.directory,
|
||||
Version: this.props.version,
|
||||
@@ -117,6 +120,8 @@ class MountItems extends Component {
|
||||
[storageType]: state,
|
||||
});
|
||||
|
||||
this.props.mountsBusy(true);
|
||||
|
||||
if (mount) {
|
||||
ipcRenderer.send('mount_drive', {
|
||||
Directory: this.props.directory,
|
||||
|
||||
Reference in New Issue
Block a user