Skip to content

Commit

Permalink
review fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
d.maximchuk committed Sep 5, 2024
1 parent d44a2ae commit 4d54903
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ui/src/Dashboard/actions.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ export function getSaveOperations(flag, editFlag, conditions, checks, variablesM
}
break;
case Type.NUMBER:
if (!isNumber(check.value_number || !check.hasOwnProperty('value_number'))) {
if (!isNumber(check.value_number) || !check.hasOwnProperty('value_number')) {
errors.internalError = true;
console.log(check);
} else {
Expand Down Expand Up @@ -398,7 +398,7 @@ export function getValueSaveOperations(value, editValue, conditions, checks, var
}
break;
case Type.NUMBER:
if (!isNumber(check.value_number || !check.hasOwnProperty('value_number'))) {
if (!isNumber(check.value_number) || !check.hasOwnProperty('value_number')) {
errors.internalError = true;
console.log(check);
} else {
Expand Down

0 comments on commit 4d54903

Please sign in to comment.