mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
miscellaneous bugfixes for alpha12 (#2823)
* miscellaneous bugfixes for alpha12 * fix deserialization of path in cifs share * catch error in setup.status * actually reserialize db after migration * better progress reporting for migrations * fix infinite drop * fix raspi build * fix race condition * version bump --------- Co-authored-by: Matt Hill <mattnine@protonmail.com>
This commit is contained in:
@@ -76,14 +76,18 @@ export class LoadingPage {
|
||||
guid: string
|
||||
progress: T.FullProgress
|
||||
} | void> {
|
||||
const res = await this.api.getStatus()
|
||||
try {
|
||||
const res = await this.api.getStatus()
|
||||
|
||||
if (!res) {
|
||||
this.navCtrl.navigateRoot('/home')
|
||||
} else if (res.status === 'complete') {
|
||||
this.navCtrl.navigateForward(`/success`)
|
||||
} else {
|
||||
return res
|
||||
if (!res) {
|
||||
this.navCtrl.navigateRoot('/home')
|
||||
} else if (res.status === 'complete') {
|
||||
this.navCtrl.navigateForward(`/success`)
|
||||
} else {
|
||||
return res
|
||||
}
|
||||
} catch (e: any) {
|
||||
this.errorService.handleError(e)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user