mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -08:00
fix: fix linting issues
This commit is contained in:
parent
f3bcd6f0b8
commit
991e63b1bf
|
@ -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'));
|
||||||
|
|
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue