Fix error in getSubscriptionPageLocation function
This commit is contained in:
parent
239d41175c
commit
376cd9e264
1 changed files with 1 additions and 2 deletions
|
@ -84,11 +84,10 @@ export class ProfileWrapper {
|
|||
}
|
||||
|
||||
getSubscriptionPageLocation(): string | RouteLocationRaw | null {
|
||||
console.log(this.payment_options)
|
||||
for (const option of this.payment_options) {
|
||||
if (
|
||||
option.type === "link" &&
|
||||
option.name === "EthereumSubscription" &&
|
||||
(option.name === "EthereumSubscription" || option.name === "MoneroSubscription") &&
|
||||
option.href
|
||||
) {
|
||||
return option.href
|
||||
|
|
Loading…
Reference in a new issue