Skip to content

Commit

Permalink
Merge pull request #700 from nextcloud/renovate/debounce-2.x
Browse files Browse the repository at this point in the history
fix(deps): update dependency debounce to v2
  • Loading branch information
github-actions[bot] authored Feb 28, 2024
2 parents 3fea163 + afbc68b commit 1bdce02
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 20 deletions.
30 changes: 15 additions & 15 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
"@tiptap/starter-kit": "^2.2.4",
"@tiptap/vue-2": "^2.2.4",
"@vueuse/core": "^10.9.0",
"debounce": "^1.2.1",
"debounce": "^2.0.0",
"vue": "^2.7.16",
"vue-material-design-icons": "^5.3.0",
"vue-papa-parse": "^3.1.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,10 @@ export default {
if (this.localValue === null) {
this.localValue = this.column.textDefault
}
this.debounceSubmit = debounce(function() {
this.loadResults()
}, 500)
},
mounted() {
Expand All @@ -129,10 +133,6 @@ export default {
this.providerLoading = { ...this.providerLoading }
},
debounceSubmit: debounce(function() {
this.loadResults()
}, 500),
loadResults() {
if (this.term.length >= 3 || this.term === '') {
this.providers?.forEach(provider => this.loadResultsForProvider(provider, this.term))
Expand Down

0 comments on commit 1bdce02

Please sign in to comment.