diff --git a/CHANGELOG.md b/CHANGELOG.md index 5c9b60761..d31100c0a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,8 @@ ## [Unreleased](https://github.com/pixelfed/pixelfed/compare/v0.11.8...dev) +### Updates +- Update Notifications.vue component, fix filtering logic to prevent endless spinner ([3df9b53f](https://github.com/pixelfed/pixelfed/commit/3df9b53f)) - ([](https://github.com/pixelfed/pixelfed/commit/)) ## [v0.11.8 (2023-05-29)](https://github.com/pixelfed/pixelfed/compare/v0.11.7...v0.11.8) diff --git a/public/js/discover.chunk.5d1455b7a1531f25.js b/public/js/discover.chunk.5d1455b7a1531f25.js new file mode 100644 index 000000000..3dcd2ff3a Binary files /dev/null and b/public/js/discover.chunk.5d1455b7a1531f25.js differ diff --git a/public/js/discover.chunk.93193c6ec9a42fc4.js b/public/js/discover.chunk.93193c6ec9a42fc4.js deleted file mode 100644 index 58fee9f71..000000000 Binary files a/public/js/discover.chunk.93193c6ec9a42fc4.js and /dev/null differ diff --git a/public/js/discover~hashtag.bundle.0f0dea872c1b644e.js b/public/js/discover~hashtag.bundle.0f0dea872c1b644e.js new file mode 100644 index 000000000..98094e9d2 Binary files /dev/null and b/public/js/discover~hashtag.bundle.0f0dea872c1b644e.js differ diff --git a/public/js/discover~hashtag.bundle.10cb33346c033ea7.js b/public/js/discover~hashtag.bundle.10cb33346c033ea7.js deleted file mode 100644 index ea976a083..000000000 Binary files a/public/js/discover~hashtag.bundle.10cb33346c033ea7.js and /dev/null differ diff --git a/public/js/home.chunk.0e9fc41724d23244.js b/public/js/home.chunk.0e9fc41724d23244.js new file mode 100644 index 000000000..567650f4e Binary files /dev/null and b/public/js/home.chunk.0e9fc41724d23244.js differ diff --git a/public/js/home.chunk.5e2199ecf7058763.js.LICENSE.txt b/public/js/home.chunk.0e9fc41724d23244.js.LICENSE.txt similarity index 100% rename from public/js/home.chunk.5e2199ecf7058763.js.LICENSE.txt rename to public/js/home.chunk.0e9fc41724d23244.js.LICENSE.txt diff --git a/public/js/home.chunk.5e2199ecf7058763.js b/public/js/home.chunk.5e2199ecf7058763.js deleted file mode 100644 index 91c91712a..000000000 Binary files a/public/js/home.chunk.5e2199ecf7058763.js and /dev/null differ diff --git a/public/js/manifest.js b/public/js/manifest.js index 5ba7bb557..b27be13f6 100644 Binary files a/public/js/manifest.js and b/public/js/manifest.js differ diff --git a/public/js/post.chunk.7c05c9ede39712e0.js b/public/js/post.chunk.7c05c9ede39712e0.js new file mode 100644 index 000000000..84449e606 Binary files /dev/null and b/public/js/post.chunk.7c05c9ede39712e0.js differ diff --git a/public/js/post.chunk.df55c616763e284d.js.LICENSE.txt b/public/js/post.chunk.7c05c9ede39712e0.js.LICENSE.txt similarity index 100% rename from public/js/post.chunk.df55c616763e284d.js.LICENSE.txt rename to public/js/post.chunk.7c05c9ede39712e0.js.LICENSE.txt diff --git a/public/js/post.chunk.df55c616763e284d.js b/public/js/post.chunk.df55c616763e284d.js deleted file mode 100644 index f1aa13704..000000000 Binary files a/public/js/post.chunk.df55c616763e284d.js and /dev/null differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 85c4255c4..4db4cffc1 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ diff --git a/resources/assets/components/sections/Notifications.vue b/resources/assets/components/sections/Notifications.vue index c1dfc9999..ecad32907 100644 --- a/resources/assets/components/sections/Notifications.vue +++ b/resources/assets/components/sections/Notifications.vue @@ -234,16 +234,16 @@ return; } let data = res.data.filter(n => { - if(n.type == 'share' && !n.status) { + if(n.type == 'share' && (!n.status || !n.account)) { return false; } - if(n.type == 'comment' && !n.status) { + if(n.type == 'comment' && (!n.status || !n.account)) { return false; } - if(n.type == 'mention' && !n.status) { + if(n.type == 'mention' && (!n.status || !n.account)) { return false; } - if(n.type == 'favourite' && !n.status) { + if(n.type == 'favourite' && (!n.status || !n.account)) { return false; } if(n.type == 'follow' && !n.account) {