mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +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(() => {
|
||||
return {
|
||||
@@ -47,7 +47,7 @@ const onCardAction = (action: string) => {
|
||||
if (action === 'rename') {
|
||||
if (renameInput.value?.forceFocus) {
|
||||
setTimeout(() => {
|
||||
renameInput.value?.forceFocus();
|
||||
renameInput.value?.forceFocus?.();
|
||||
}, 100);
|
||||
}
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user