forked from didirus/AstralRinth
fix: dont auth on empty plan query (#4231)
This commit is contained in:
@@ -940,7 +940,9 @@ const planQuery = async () => {
|
||||
const planElement = document.querySelector(`[nav-hash="plan"]`)
|
||||
if (planElement) {
|
||||
planElement.scrollIntoView({ behavior: 'smooth' })
|
||||
await selectProduct(route.query.plan)
|
||||
if (route.query.plan !== null) {
|
||||
await selectProduct(route.query.plan)
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user