fix: Handle undefined File from input element in MigrationView
All checks were successful
Test Asgard Runner / test (push) Successful in 3s
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:
@@ -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
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user