Update Timeline component, hide sensitive comments

pull/1429/head
Daniel Supernault 7 years ago
parent 92591edb49
commit 0b3c3021f5
No known key found for this signature in database
GPG Key ID: 0DEF1C662C9033F7

@ -696,7 +696,9 @@
fetchStatusComments(status, card) { fetchStatusComments(status, card) {
axios.get('/api/v2/status/'+status.id+'/replies') axios.get('/api/v2/status/'+status.id+'/replies')
.then(res => { .then(res => {
let data = res.data; let data = res.data.filter(res => {
return res.sensitive == false;
});
this.replies = _.reverse(data); this.replies = _.reverse(data);
}).catch(err => { }).catch(err => {
}) })

Loading…
Cancel
Save