1
0
Fork 0
forked from mirror/pixelfed

Update Timeline component, hide sensitive comments

This commit is contained in:
Daniel Supernault 2019-06-18 22:32:34 -06:00
parent 92591edb49
commit 0b3c3021f5
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -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 => {
})