1
0
Fork 1
mirror of https://github.com/pixelfed/pixelfed.git synced 2024-12-26 01:36:43 +00:00

Update ComposeModal, prevent tagging empty users. Fixes #2633

This commit is contained in:
Daniel Supernault 2021-02-06 21:22:27 -07:00
parent 60554c24b0
commit ceae664ce0
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -1177,7 +1177,9 @@ export default {
q: input q: input
} }
}).then(res => { }).then(res => {
//return res.data; if(!res.data.length) {
return;
}
return res.data.filter(d => { return res.data.filter(d => {
return self.taggedUsernames.filter(r => { return self.taggedUsernames.filter(r => {
return r.id == d.id; return r.id == d.id;