mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 12:11:56 +00:00
fix loading issue
This commit is contained in:
committed by
Aiden McClelland
parent
203eff7758
commit
e09d2e7e28
@@ -59,6 +59,7 @@ export class MarketplaceListPage {
|
|||||||
data.categories = data.categories.filter(cat => this.category !== cat)
|
data.categories = data.categories.filter(cat => this.category !== cat)
|
||||||
}
|
}
|
||||||
data.categories.unshift(this.category)
|
data.categories.unshift(this.category)
|
||||||
|
data.categories.push('all')
|
||||||
this.eos = eos
|
this.eos = eos
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
console.error(e)
|
console.error(e)
|
||||||
|
|||||||
@@ -51,7 +51,11 @@ export class MarketplaceShowPage {
|
|||||||
this.installedPkg = pkg
|
this.installedPkg = pkg
|
||||||
}),
|
}),
|
||||||
]
|
]
|
||||||
if (!this.marketplaceService.pkgs[this.pkgId]) {
|
|
||||||
|
console.log(this.marketplaceService.pkgs[this.pkgId])
|
||||||
|
if (this.marketplaceService.pkgs[this.pkgId]) {
|
||||||
|
this.loading = false
|
||||||
|
} else {
|
||||||
this.getPkg()
|
this.getPkg()
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user