mirror of
https://github.com/plankanban/planka.git
synced 2025-07-20 05:39:43 +02:00
ref: Little refactoring
This commit is contained in:
parent
6021d67a00
commit
b58b91baa1
8 changed files with 14 additions and 17 deletions
|
@ -3,7 +3,7 @@ const valuesValidator = (value) => {
|
|||
return false;
|
||||
}
|
||||
|
||||
if (!_.isFinite(value.position)) {
|
||||
if (!_.isUndefined(value.position) && !_.isFinite(value.position)) {
|
||||
return false;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue