forked from mirror/pixelfed
Update Timeline component, hide sensitive comments
This commit is contained in:
parent
92591edb49
commit
0b3c3021f5
1 changed files with 11 additions and 9 deletions
|
@ -696,7 +696,9 @@
|
|||
fetchStatusComments(status, card) {
|
||||
axios.get('/api/v2/status/'+status.id+'/replies')
|
||||
.then(res => {
|
||||
let data = res.data;
|
||||
let data = res.data.filter(res => {
|
||||
return res.sensitive == false;
|
||||
});
|
||||
this.replies = _.reverse(data);
|
||||
}).catch(err => {
|
||||
})
|
||||
|
|
Loading…
Reference in a new issue