Improve handling of background fetch update
This commit is contained in:
parent
126820ade6
commit
6b58e9115b
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
|
Loading…
Reference in New Issue
Block a user