From 6b58e9115b28f19f848d121da470462eb1857d4b Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 21 Feb 2021 09:33:37 +0000 Subject: [PATCH] Improve handling of background fetch update --- views/index.html | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/views/index.html b/views/index.html index 2e6fdd1..76f49a7 100644 --- a/views/index.html +++ b/views/index.html @@ -392,7 +392,8 @@ .then(items => { for (let item of items) { if (!this.items.some(i => i.ID == item.ID)) { - this.items.push(item); + this.items.unshift(item); + this.setPageTitle(); } } })