fix: Handle undefined File from input element in MigrationView
All checks were successful
Test Asgard Runner / test (push) Successful in 3s

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
Vantz Stockwell
2026-02-15 21:33:23 -05:00
parent d20493d533
commit 50848fd0e8

View File

@@ -37,7 +37,7 @@ async function createExport() {
function handleFileSelect(event: Event) {
const target = event.target as HTMLInputElement
if (target.files && target.files.length > 0) {
uploadFile.value = target.files[0]
uploadFile.value = target.files[0] ?? null
}
}