mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-30 20:14:49 +00:00
fix mrketplace swtiching (#1810)
This commit is contained in:
@@ -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)
|
||||
|
||||
|
||||
@@ -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[] = [
|
||||
|
||||
Reference in New Issue
Block a user