bugfixing

This commit is contained in:
MuslemRahimi 2024-12-09 10:58:58 +01:00
parent 08e0c59993
commit 18ffb20147
2 changed files with 7 additions and 1 deletions

View File

@ -617,7 +617,7 @@
d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m-4 48a12 12 0 1 1-12 12a12 12 0 0 1 12-12m12 112a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 0 16" d="M128 24a104 104 0 1 0 104 104A104.11 104.11 0 0 0 128 24m-4 48a12 12 0 1 1-12 12a12 12 0 0 1 12-12m12 112a16 16 0 0 1-16-16v-40a8 8 0 0 1 0-16a16 16 0 0 1 16 16v40a8 8 0 0 1 0 16"
/></svg /></svg
> >
No Dividends available for the day. No Earnings reports available for the day.
</div> </div>
{/if} {/if}
{/if} {/if}

View File

@ -1860,6 +1860,12 @@ const handleKeyDown = (event) => {
function changeRuleCondition(name: string, state: string) { function changeRuleCondition(name: string, state: string) {
ruleName = name; ruleName = name;
if (
ruleCondition[ruleName] === "between" &&
["over", "under"]?.includes(state?.toLowerCase())
) {
valueMappings[ruleName] = "";
}
ruleCondition[ruleName] = state?.toLowerCase(); ruleCondition[ruleName] = state?.toLowerCase();
} }