Move item to the last position stays there
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
701cd7b29d
commit
c4bd5107eb
|
@ -123,7 +123,11 @@ function Store(inputData) {
|
|||
values[newId] = item
|
||||
id = newId
|
||||
}
|
||||
idList.splice(index, 0, id)
|
||||
if (!beforeId) {
|
||||
idList.push(id)
|
||||
} else {
|
||||
idList.splice(index, 0, id)
|
||||
}
|
||||
changed = true
|
||||
return id
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user