fix: fix linting issues

This commit is contained in:
Alex Grozav 2023-07-26 17:16:58 +03:00
parent f3bcd6f0b8
commit 991e63b1bf
2 changed files with 2 additions and 3 deletions

View file

@ -181,7 +181,7 @@ export default defineComponent({
function filterOptions(value = '') { function filterOptions(value = '') {
filter.value = value.trim(); filter.value = value.trim();
nextTick(() => focusFirstOption()); void nextTick(() => focusFirstOption());
} }
async function onCreate() { async function onCreate() {
@ -221,7 +221,7 @@ export default defineComponent({
} }
} }
async function focusFirstOption() { function focusFirstOption() {
// focus on create option // focus on create option
if (createRef.value?.$el) { if (createRef.value?.$el) {
createRef.value.$el.dispatchEvent(new Event('mouseenter')); createRef.value.$el.dispatchEvent(new Event('mouseenter'));

View file

@ -1,5 +1,4 @@
import type { MessageEventBusDestinationOptions } from 'n8n-workflow'; import type { MessageEventBusDestinationOptions } from 'n8n-workflow';
import { deepCopy } from 'n8n-workflow';
import { defineStore } from 'pinia'; import { defineStore } from 'pinia';
import { import {
deleteDestinationFromDb, deleteDestinationFromDb,