diff options
author | violoncello.ch <22591354+violoncelloCH@users.noreply.github.com> | 2018-12-21 13:42:44 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-12-21 13:42:44 +0100 |
commit | 9599660feb7bdba9baa6205b514b6002936cd771 (patch) | |
tree | 2d33ce5ba0c347675cc37890b571cf68f61d19de | |
parent | fe8abe2db09e2f40da5bf4207d6247826aeb4809 (diff) | |
parent | a9f40d4f80edf432f9c68f8ab9aaae7fb01c5daa (diff) |
Merge pull request #263 from nextcloud/bugfix/noid/search-one-only
Only send one search request at a time to the server
-rw-r--r-- | src/components/Search.vue | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/components/Search.vue b/src/components/Search.vue index 312d8d21..c88f0653 100644 --- a/src/components/Search.vue +++ b/src/components/Search.vue @@ -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)) { |