bugfixing

This commit is contained in:
MuslemRahimi 2024-12-13 21:26:31 +01:00
parent 2026bb5ed0
commit 4b07031660

View File

@ -430,10 +430,11 @@
}
async function handleValueInput(event, ruleName, index = null) {
console.log(ruleName);
const newValue = event.target.value;
if (ruleCondition[ruleName] === "between") {
const currentValues = valueMappings[ruleName] || ["", ""];
const currentValues = [...(valueMappings[ruleName] || ["", ""])];
currentValues[index] = newValue;
await handleChangeValue(currentValues, { shouldSort: false });
} else {