Fixed: Not showing past first few pages of history

This commit is contained in:
ta264 2020-02-24 21:59:32 +00:00 committed by Qstick
parent e5d248f9f9
commit 6c6437e520
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function hasDifferentItems(prevItems, currentItems, idProp = 'id') {
currentItemIds.add(currentItem[idProp]);
});
return prevItems.every((prevItem) => currentItemIds.has(prevItem[idProp]));
return prevItems.some((prevItem) => !currentItemIds.has(prevItem[idProp]));
}
export default hasDifferentItems;