mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 22:39:46 +00:00
loading polish
This commit is contained in:
committed by
Aiden McClelland
parent
b761c3dabd
commit
44d58f3b6e
@@ -10,7 +10,7 @@ import { PasswordPage } from '../password/password.page'
|
||||
styleUrls: ['recover.page.scss'],
|
||||
})
|
||||
export class RecoverPage {
|
||||
dataDrives = []
|
||||
dataDrives = null
|
||||
selectedDrive: RecoveryDrive = null
|
||||
|
||||
constructor(
|
||||
@@ -23,7 +23,13 @@ export class RecoverPage {
|
||||
|
||||
async ngOnInit() {
|
||||
if(!this.stateService.recoveryDrive) {
|
||||
const loader = await this.loadingCtrl.create({
|
||||
message: 'Fetching recovery drives'
|
||||
})
|
||||
await loader.present()
|
||||
this.dataDrives = await this.apiService.getRecoveryDrives()
|
||||
|
||||
loader.dismiss()
|
||||
} else {
|
||||
this.stateService.pollDataTransferProgress()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user