diff --git a/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts b/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts index bbdf23dac..df4e250af 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts +++ b/ui/src/app/pages/marketplace-routes/marketplace-list/marketplace-list.page.ts @@ -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) diff --git a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.ts b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.ts index d69f960f3..7a6c3081d 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.ts +++ b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.ts @@ -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() } }