chore(editor): Fix typecheck to fix CI (#18050)

This commit is contained in:
Iván Ovejero
2025-08-06 15:52:41 +02:00
committed by GitHub
parent 948ebe6702
commit 6495e08c79

View File

@@ -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;