🐛 Fix that some keyboard shortcuts did no longer work

* N8N-3057 Fixed Keyboard shortcuts no longer working on / Fixed callDebounced function

* N8N-3057 Update Debounce Function

* N8N-3057 Refactor callDebounce function

* N8N-3057 Update Dobounce Function
This commit is contained in:
Oliver Trajceski
2022-03-04 17:28:03 +01:00
committed by GitHub
parent c45ab96559
commit 3513aa128a
5 changed files with 18 additions and 19 deletions

View File

@@ -208,7 +208,7 @@ export default mixins(genericHelpers).extend({
this.loadingWorkflows = true;
this.loadingCollections = true;
this.search = search;
this.callDebounced('updateSearch', 500, true);
this.callDebounced('updateSearch', { debounceTime: 500, trailing: true });
if (search.length === 0) {
this.trackSearch();