From a1888f3454fe63b8ce6beb45f7cc0242a8cfa847 Mon Sep 17 00:00:00 2001 From: Drew Ansbacher Date: Wed, 29 Dec 2021 13:38:17 -0700 Subject: [PATCH] prepend /marketplace (#1007) Co-authored-by: Drew Ansbacher --- .../marketplace-show/marketplace-show.page.html | 4 ++-- .../marketplace-show/marketplace-show.page.ts | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html index 019633289..fd0073167 100644 --- a/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html +++ b/ui/src/app/pages/marketplace-routes/marketplace-show/marketplace-show.page.html @@ -16,7 +16,7 @@
- +

{{ pkg.manifest.title }}

{{ pkg.manifest.version | displayEmver }}

@@ -124,7 +124,7 @@ - +

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 99fafcd12..59f92f6ae 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 @@ -113,7 +113,7 @@ export class MarketplaceShowPage { const modal = await this.modalCtrl.create({ componentProps: { title, - contentUrl: this.pkg[title], + contentUrl: `/marketplace${this.pkg[title]}`, }, component: MarkdownPage, }) @@ -191,7 +191,7 @@ export class MarketplaceShowPage { loader.present() try { - await this.embassyApi.installPackage({ id, 'version-spec': version ? `=${version}` : undefined }) + await this.embassyApi.installPackage({ id, 'version-spec': version ? ` = ${version}` : undefined }) } catch (e) { this.errToast.present(e) } finally {