update screener

This commit is contained in:
MuslemRahimi 2024-09-15 10:32:12 +02:00
parent 6b45d50161
commit a4c23e1381

View File

@ -211,10 +211,11 @@ $: allRows = Object?.entries(allRules)
async function handleCreateStrategy() {
if(data?.user) {
if(data?.user?.tier === 'Pro' && !data?.user?.freeTrial) {
const closePopup = document.getElementById("addStrategy");
closePopup?.dispatchEvent(new MouseEvent('click'))
} else {
}
else {
goto('/pricing')
}
}