mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-12-26 01:36:43 +00:00
Update Activity.vue component
This commit is contained in:
parent
47a70d710a
commit
d5b3aac1e7
1 changed files with 3 additions and 0 deletions
|
@ -146,6 +146,9 @@ export default {
|
||||||
if(n.type == 'share' && !status) {
|
if(n.type == 'share' && !status) {
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
if(_.find(this.notifications, {id: n.id})) {
|
||||||
|
return false;
|
||||||
|
}
|
||||||
return true;
|
return true;
|
||||||
});
|
});
|
||||||
this.notifications.push(...data);
|
this.notifications.push(...data);
|
||||||
|
|
Loading…
Reference in a new issue