fix mrketplace swtiching (#1810)

This commit is contained in:
Matt Hill
2022-09-19 12:59:29 -06:00
committed by GitHub
parent 53463077df
commit f04b90d9c6
6 changed files with 21 additions and 14 deletions

View File

@@ -34,6 +34,8 @@ export class AppInterfacesPage {
async ngOnInit() {
const pkg = await getPackage(this.patch, this.pkgId)
if (!pkg) return
const interfaces = pkg.manifest.interfaces
const uiKey = getUiInterfaceKey(interfaces)

View File

@@ -117,7 +117,6 @@ export class MarketplacesPage {
async presentAction(id: string | null) {
// no need to view actions if is selected marketplace
const marketplace = await getMarketplace(this.patch)
if (id === marketplace['selected-id']) return
const buttons: ActionSheetButton[] = [