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 {
|
try {
|
||||||
const {url} = await createPortalSession($pubkey!)
|
const {url} = await createPortalSession($pubkey!)
|
||||||
window.open(url)
|
|
||||||
|
window.location.href = url
|
||||||
} catch (e) {
|
} catch (e) {
|
||||||
pushToast({
|
pushToast({
|
||||||
theme: "error",
|
theme: "error",
|
||||||
|
|
|
||||||
|
|
@ -130,6 +130,7 @@
|
||||||
if (!pk || reconciling) return
|
if (!pk || reconciling) return
|
||||||
|
|
||||||
reconciling = true
|
reconciling = true
|
||||||
|
error = ""
|
||||||
|
|
||||||
try {
|
try {
|
||||||
await ensureSessionTenant()
|
await ensureSessionTenant()
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue