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
|
values[newId] = item
|
||||||
id = newId
|
id = newId
|
||||||
}
|
}
|
||||||
|
if (!beforeId) {
|
||||||
|
idList.push(id)
|
||||||
|
} else {
|
||||||
idList.splice(index, 0, id)
|
idList.splice(index, 0, id)
|
||||||
|
}
|
||||||
changed = true
|
changed = true
|
||||||
return id
|
return id
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user