Et2VfsSelectDialog: Fix bad value after double-clicking a directory

This commit is contained in:
nathan 2024-03-19 10:40:00 -06:00
parent 61c83d89cc
commit 569b0de351

View File

@ -524,7 +524,7 @@ export class Et2VfsSelectDialog
}
else
{
this.value = [this.selectedResults[0]?.value.path] ?? [];
this.value = (this.selectedResults?.length ? [this.selectedResults[0].value.path] : []) ?? [];
}
}