Skip to content

Commit

Permalink
--amend
Browse files Browse the repository at this point in the history
Signed-off-by: Kiran Parajuli <kiranparajuli589@gmail.com>
  • Loading branch information
kiranparajuli589 committed Mar 29, 2022
1 parent 160847a commit 61486f2
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions src/components/tab/SearchInput.vue
Original file line number Diff line number Diff line change
Expand Up @@ -116,13 +116,10 @@ export default {
if (query) {
this.resetState()
if (query.length <= SEARCH_CHAR_LIMIT) return
await this.debounceGetWorkPackages(query)
await this.debounceMakeSearchRequest(query)
}
},
/**
* debounce get work packages to avoid too many requests
*/
debounceGetWorkPackages: _.debounce(function(...args) {
debounceMakeSearchRequest: _.debounce(function(...args) {
return this.makeSearchRequest(...args)
}, 500),
async linkWorkPackageToFile(selectedOption) {
Expand Down

0 comments on commit 61486f2

Please sign in to comment.