From 661e60027e71050284a9bccf2985071b18334fb9 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 14 Feb 2019 19:34:17 -0700 Subject: [PATCH 1/2] Update Timeline.vue, fix notification bug --- resources/assets/js/components/Timeline.vue | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/resources/assets/js/components/Timeline.vue b/resources/assets/js/components/Timeline.vue index 347cc4546..c9c19c4b2 100644 --- a/resources/assets/js/components/Timeline.vue +++ b/resources/assets/js/components/Timeline.vue @@ -450,7 +450,12 @@ fetchNotifications() { axios.get('/api/v1/notifications') .then(res => { - this.notifications = res.data; + this.notifications = res.data.filter(n => { + if(n.type == 'share' && !status) { + return false; + } + return true; + }); $('.notification-card .loader').addClass('d-none'); $('.notification-card .contents').removeClass('d-none'); }); From bd2d941ed599e7222a79869802e5a77a59c82669 Mon Sep 17 00:00:00 2001 From: Daniel Supernault Date: Thu, 14 Feb 2019 19:36:08 -0700 Subject: [PATCH 2/2] Update compiled assets --- public/css/app.css | Bin 235074 -> 235182 bytes public/css/appdark.css | Bin 233118 -> 233226 bytes public/js/timeline.js | Bin 34857 -> 34912 bytes public/mix-manifest.json | Bin 641 -> 641 bytes 4 files changed, 0 insertions(+), 0 deletions(-) diff --git a/public/css/app.css b/public/css/app.css index 4971165b591e5cdb80e3f6c750b2f2c07dbca0d6..8cc28087ba294273be4ad877b60e6cf856bfb3d1 100644 GIT binary patch delta 97 zcmX@KhHu?kzJ?aY7N#xC2SP>Da#Aa-L45SsjOBON-Prnh$ yY&ShAfLWN$$e^G?vwHfxP-ZEC+{`@PjMU8Zj1ns|1EBbH!C+>|?Yd#iq7DGq#UUvG delta 37 tcmZ3tmhaFSzJ?aY7N#xC2SQnsa`Kb2rx(s+6rTP+l-X{3Qy8<30{|Wx4lw`# diff --git a/public/css/appdark.css b/public/css/appdark.css index 06c6589b031f5b16ff117449360c8a9836795357..24365d10503f0f4cac5bb75c7c0d6747990339ad 100644 GIT binary patch delta 101 zcmbO?m#=FcUqcIH3)2>6m5}MH;+eRnFK}Y!o_-{rNn*O15R=e!n-FHZ>6g@)gbj@h z3Mw?K^-@wx5;Jp(brbV4a}!HaQ|yXMb8{1mDywrd^K>&(Gt)Cltjr96YHPPwhA^vI F0RY8`BA);N delta 37 tcmeC0$2V^-UqcIH3)2>6l@QjXoc!eM>4Kb0BGXesm~FQ|3t?8V0s!w=3-SN} diff --git a/public/js/timeline.js b/public/js/timeline.js index 2a9ad361fb68539ed0ddbef087abdc59e3f3346b..f1f6f2c1e5f1b37d03216b96a9391cb7760a55e8 100644 GIT binary patch delta 249 zcmZ2Ef$6~nrVYw$EbiVx;gh3EeK|}_jT6m`lT9YCFLgn1ewW4}IEiKY2+oW$Hw5Qd znd)X`HW@)Py|m1nlGGxNw9>rflFa-(jS|i3qSTVoqC7mxX+ z>~09oW_H!hb>;U3Sam=aPv+p3lPOCqQpmF{)=&c3sibLLte2;er>U1%TdQde0JWw$ ACIA2c diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 72c9604575ba7533555fc87cfcb685f02b43cd62..0ab8dd8283456f29455b3cd24659ae104cfef01e 100644 GIT binary patch delta 80 zcmZo