🐛 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

@@ -47,7 +47,7 @@ export default mixins(genericHelpers).extend({
},
methods: {
onResize() {
this.callDebounced("onResizeEnd", 50);
this.callDebounced("onResizeEnd", { debounceTime: 50 });
},
onResizeEnd() {
this.$data.width = window.innerWidth;