Fixed more accidental array mutations
ci/woodpecker/push/ociImagePush Pipeline is running Details

This commit is contained in:
Natty 2024-04-05 23:33:33 +02:00
parent 8618b2084d
commit 812d4ee6b2
Signed by: natty
GPG Key ID: BF6CB659ADEE60EC
1 changed files with 3 additions and 2 deletions

View File

@ -493,11 +493,12 @@ const prepend = (item: packed.PackNotification): void => {
} else {
if (!queue.value.length) {
onScrollTop(rootEl.value, () => {
const queueRemoved = [...queue.value].reverse();
queue.value = [];
items.value = [
...groupIntra(queue.value.reverse()),
...groupIntra(queueRemoved),
...items.value,
].slice(0, displayLimit);
queue.value = [];
});
}