mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 04:01:58 +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:
4
web/package-lock.json
generated
4
web/package-lock.json
generated
@@ -1,12 +1,12 @@
|
||||
{
|
||||
"name": "startos-ui",
|
||||
"version": "0.3.6-alpha.12",
|
||||
"version": "0.3.6-alpha.13",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "startos-ui",
|
||||
"version": "0.3.6-alpha.12",
|
||||
"version": "0.3.6-alpha.13",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@angular/animations": "^14.1.0",
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "startos-ui",
|
||||
"version": "0.3.6-alpha.12",
|
||||
"version": "0.3.6-alpha.13",
|
||||
"author": "Start9 Labs, Inc",
|
||||
"homepage": "https://start9.com/",
|
||||
"license": "MIT",
|
||||
|
||||
@@ -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