This commit is contained in:
Drew Ansbacher
2021-07-07 14:44:55 -06:00
committed by Aiden McClelland
parent 27072b5a3b
commit 517251d672
8 changed files with 64 additions and 28 deletions

View File

@@ -5,7 +5,8 @@ import { ApiService, DataDrive, RecoveryDrive } from './api/api.service'
providedIn: 'root'
})
export class StateService {
loading = true;
loading = true
polling = false
dataDrive: DataDrive;
recoveryDrive: RecoveryDrive;
@@ -27,6 +28,7 @@ export class StateService {
}
async pollDataTransferProgress() {
this.polling = true
await pauseFor(7000)
if (