Improve handling of background fetch update

This commit is contained in:
Marcus Noble 2021-02-21 09:33:37 +00:00
parent 126820ade6
commit 6b58e9115b

View File

@ -392,7 +392,8 @@
.then(items => { .then(items => {
for (let item of items) { for (let item of items) {
if (!this.items.some(i => i.ID == item.ID)) { if (!this.items.some(i => i.ID == item.ID)) {
this.items.push(item); this.items.unshift(item);
this.setPageTitle();
} }
} }
}) })