Update Activity component, fix comment bug

pull/2811/head
Daniel Supernault 2021-06-18 06:18:35 -06:00
rodzic 04b6eb94ca
commit 9a2db8ebc0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 12 dodań i 0 usunięć

Wyświetl plik

@ -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;
}