add open button
This commit is contained in:
parent
216b53cb31
commit
94af43c3f5
2 changed files with 16 additions and 1 deletions
|
|
@ -31,7 +31,13 @@ window.app.component('merchant-tab', {
|
|||
},
|
||||
computed: {
|
||||
marketClientUrl: function () {
|
||||
return '/nostrmarket/market'
|
||||
if (!this.publicKey) {
|
||||
return '/nostrmarket/market'
|
||||
}
|
||||
|
||||
const url = new URL('/nostrmarket/market', window.location.origin)
|
||||
url.searchParams.set('merchant', this.publicKey)
|
||||
return url.pathname + url.search
|
||||
}
|
||||
},
|
||||
methods: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue