Update ComposeModal, prevent tagging empty users. Fixes #2633

pull/2636/head
Daniel Supernault 2021-02-06 21:22:27 -07:00
rodzic 60554c24b0
commit ceae664ce0
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 3 dodań i 1 usunięć

Wyświetl plik

@ -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;