update screener
This commit is contained in:
parent
6b45d50161
commit
a4c23e1381
@ -211,10 +211,11 @@ $: allRows = Object?.entries(allRules)
|
|||||||
|
|
||||||
|
|
||||||
async function handleCreateStrategy() {
|
async function handleCreateStrategy() {
|
||||||
if(data?.user) {
|
if(data?.user?.tier === 'Pro' && !data?.user?.freeTrial) {
|
||||||
const closePopup = document.getElementById("addStrategy");
|
const closePopup = document.getElementById("addStrategy");
|
||||||
closePopup?.dispatchEvent(new MouseEvent('click'))
|
closePopup?.dispatchEvent(new MouseEvent('click'))
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
goto('/pricing')
|
goto('/pricing')
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user