File tree 1 file changed +2
-7
lines changed
resources/assets/js/components
1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 40
40
</div >
41
41
<div v-else-if =" n.type == 'share'" >
42
42
<p class =" my-0" >
43
- <a :href =" n.account.url" class =" font-weight-bold text-dark word-break" :title =" n.account.username" >{{truncate(n.account.username)}}</a > shared your <a class =" font-weight-bold" v-bind:href =" n.status.reblog. url" >post</a >.
43
+ <a :href =" n.account.url" class =" font-weight-bold text-dark word-break" :title =" n.account.username" >{{truncate(n.account.username)}}</a > shared your <a class =" font-weight-bold" v-bind:href =" n.status.url" >post</a >.
44
44
</p >
45
45
</div >
46
46
<div v-else-if =" n.type == 'modlog'" >
90
90
fetchNotifications () {
91
91
axios .get (' /api/pixelfed/v1/notifications' )
92
92
.then (res => {
93
- let data = res .data .filter (n => {
94
- if (n .type == ' share' && ! status) {
95
- return false ;
96
- }
97
- return true ;
98
- });
93
+ let data = res .data ;
99
94
let ids = res .data .map (n => n .id );
100
95
this .notificationMaxId = Math .min (... ids);
101
96
this .notifications = data;
You can’t perform that action at this time.
0 commit comments