mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-03-31 04:23:40 +00:00
fix more bugs with updates tab... (#2219)
This commit is contained in:
@@ -55,13 +55,11 @@ export class UpdatesPage {
|
||||
private readonly alertCtrl: AlertController,
|
||||
) {}
|
||||
|
||||
viewInMarketplace(event: Event, pkg: PackageDataEntry) {
|
||||
viewInMarketplace(event: Event, url: string, id: string) {
|
||||
event.stopPropagation()
|
||||
const url = pkg.installed?.['marketplace-url']
|
||||
const queryParams = url ? { url } : {}
|
||||
|
||||
this.navCtrl.navigateForward([`marketplace/${pkg.manifest.id}`], {
|
||||
queryParams,
|
||||
this.navCtrl.navigateForward([`marketplace/${id}`], {
|
||||
queryParams: { url },
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user