Fix stuck hosting error card and blocked billing portal redirect
This commit is contained in:
parent
0f17e62e54
commit
73f2fb0ec2
2 changed files with 3 additions and 1 deletions
|
|
@ -102,7 +102,8 @@
|
|||
|
||||
try {
|
||||
const {url} = await createPortalSession($pubkey!)
|
||||
window.open(url)
|
||||
|
||||
window.location.href = url
|
||||
} catch (e) {
|
||||
pushToast({
|
||||
theme: "error",
|
||||
|
|
|
|||
|
|
@ -130,6 +130,7 @@
|
|||
if (!pk || reconciling) return
|
||||
|
||||
reconciling = true
|
||||
error = ""
|
||||
|
||||
try {
|
||||
await ensureSessionTenant()
|
||||
|
|
|
|||
Loading…
Reference in a new issue