mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
chore(editor): Fix typecheck to fix CI (#18050)
This commit is contained in:
@@ -29,7 +29,7 @@ const emit = defineEmits<{
|
|||||||
];
|
];
|
||||||
}>();
|
}>();
|
||||||
|
|
||||||
const renameInput = useTemplateRef('renameInput');
|
const renameInput = useTemplateRef<{ forceFocus?: () => void }>('renameInput');
|
||||||
|
|
||||||
const dataStoreRoute = computed(() => {
|
const dataStoreRoute = computed(() => {
|
||||||
return {
|
return {
|
||||||
@@ -47,7 +47,7 @@ const onCardAction = (action: string) => {
|
|||||||
if (action === 'rename') {
|
if (action === 'rename') {
|
||||||
if (renameInput.value?.forceFocus) {
|
if (renameInput.value?.forceFocus) {
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
renameInput.value?.forceFocus();
|
renameInput.value?.forceFocus?.();
|
||||||
}, 100);
|
}, 100);
|
||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
|
|||||||
Reference in New Issue
Block a user