mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-26 10:21:52 +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.unshift(this.category)
|
||||
data.categories.push('all')
|
||||
this.eos = eos
|
||||
} catch (e) {
|
||||
console.error(e)
|
||||
|
||||
@@ -51,7 +51,11 @@ export class MarketplaceShowPage {
|
||||
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()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user