Merge pull request #263 from nextcloud/bugfix/noid/search-one-only

Only send one search request at a time to the server
alpha1
violoncello.ch 2018-12-21 13:42:44 +01:00 zatwierdzone przez GitHub
commit 9599660feb
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 3 dodań i 0 usunięć

Wyświetl plik

@ -79,6 +79,9 @@ export default {
},
methods: {
search(val) {
if (this.loading) {
return
}
this.loading = true
const re = /@((\w+)(@[\w.]+)?)/g
if (val.match(re)) {