Move item to the last position stays there
continuous-integration/drone/push Build is passing Details

single-block-api
Peter Stuifzand 4 years ago
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…
Cancel
Save