mirror of
https://github.com/pulsar-edit/pulsar.git
synced 2024-08-16 14:40:23 +03:00
Use endpoint instead of query
This commit is contained in:
parent
41c20e87d1
commit
bdd2b47e2d
@ -242,7 +242,7 @@ export default class PackageCard {
|
||||
|
||||
const packageAuthorClickHandler = (event) => {
|
||||
event.stopPropagation()
|
||||
shell.openExternal(`https://web.pulsar-edit.dev/packages?owner=${ownerFromRepository(this.pack.repository)}`)
|
||||
shell.openExternal(`https://web.pulsar-edit.dev/owners/${ownerFromRepository(this.pack.repository)}`)
|
||||
}
|
||||
this.refs.loginLink.addEventListener('click', packageAuthorClickHandler)
|
||||
this.disposables.add(new Disposable(() => { this.refs.loginLink.removeEventListener('click', packageAuthorClickHandler) }))
|
||||
|
Loading…
Reference in New Issue
Block a user