mirror of
https://github.com/pixelfed/pixelfed.git
synced 2024-11-09 16:24:51 +00:00
Update ComposeModal, prevent tagging empty users. Fixes #2633
This commit is contained in:
parent
60554c24b0
commit
ceae664ce0
1 changed files with 3 additions and 1 deletions
|
@ -1177,7 +1177,9 @@ export default {
|
|||
q: input
|
||||
}
|
||||
}).then(res => {
|
||||
//return res.data;
|
||||
if(!res.data.length) {
|
||||
return;
|
||||
}
|
||||
return res.data.filter(d => {
|
||||
return self.taggedUsernames.filter(r => {
|
||||
return r.id == d.id;
|
||||
|
|
Loading…
Reference in a new issue