diff --git a/public/css/app.css b/public/css/app.css index 4971165b5..8cc28087b 100644 Binary files a/public/css/app.css and b/public/css/app.css differ diff --git a/public/css/appdark.css b/public/css/appdark.css index 06c6589b0..24365d105 100644 Binary files a/public/css/appdark.css and b/public/css/appdark.css differ diff --git a/public/js/timeline.js b/public/js/timeline.js index 2a9ad361f..f1f6f2c1e 100644 Binary files a/public/js/timeline.js and b/public/js/timeline.js differ diff --git a/public/mix-manifest.json b/public/mix-manifest.json index 72c960457..0ab8dd828 100644 Binary files a/public/mix-manifest.json and b/public/mix-manifest.json differ 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'); });