Fixed more accidental array mutations
ci/woodpecker/push/ociImagePush Pipeline is running
Details
ci/woodpecker/push/ociImagePush Pipeline is running
Details
This commit is contained in:
parent
8618b2084d
commit
812d4ee6b2
|
@ -493,11 +493,12 @@ const prepend = (item: packed.PackNotification): void => {
|
||||||
} else {
|
} else {
|
||||||
if (!queue.value.length) {
|
if (!queue.value.length) {
|
||||||
onScrollTop(rootEl.value, () => {
|
onScrollTop(rootEl.value, () => {
|
||||||
|
const queueRemoved = [...queue.value].reverse();
|
||||||
|
queue.value = [];
|
||||||
items.value = [
|
items.value = [
|
||||||
...groupIntra(queue.value.reverse()),
|
...groupIntra(queueRemoved),
|
||||||
...items.value,
|
...items.value,
|
||||||
].slice(0, displayLimit);
|
].slice(0, displayLimit);
|
||||||
queue.value = [];
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue