mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-22 14:31:26 +00:00
Update Activity component, fix comment bug
This commit is contained in:
parent
04b6eb94ca
commit
9a2db8ebc0
1 changed files with 12 additions and 0 deletions
|
@ -144,6 +144,12 @@ export default {
|
|||
if(n.type == 'share' && !status) {
|
||||
return false;
|
||||
}
|
||||
if(n.type == 'comment' && !status) {
|
||||
return false;
|
||||
}
|
||||
if(n.type == 'mention' && !status) {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
});
|
||||
let ids = res.data.map(n => n.id);
|
||||
|
@ -170,6 +176,12 @@ export default {
|
|||
if(n.type == 'share' && !status) {
|
||||
return false;
|
||||
}
|
||||
if(n.type == 'comment' && !status) {
|
||||
return false;
|
||||
}
|
||||
if(n.type == 'mention' && !status) {
|
||||
return false;
|
||||
}
|
||||
if(_.find(this.notifications, {id: n.id})) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue