mirror of
https://github.com/gradio-app/gradio.git
synced 2025-04-12 12:40:29 +08:00
* add missing orig_name (follow up to #8334) * add changeset --------- Co-authored-by: gradio-pr-bot <gradio-pr-bot@users.noreply.github.com>
This commit is contained in:
parent
4dc7fa7cd7
commit
82ba397592
6
.changeset/silent-turkeys-lose.md
Normal file
6
.changeset/silent-turkeys-lose.md
Normal file
@ -0,0 +1,6 @@
|
||||
---
|
||||
"@gradio/file": minor
|
||||
"gradio": minor
|
||||
---
|
||||
|
||||
feat:add missing orig_name (follow up to #8334)
|
@ -41,7 +41,7 @@
|
||||
event.composedPath().includes(tr.firstElementChild); // Or if the click is on the name column
|
||||
|
||||
if (should_select) {
|
||||
dispatch("select", { value: normalized_files[index], index });
|
||||
dispatch("select", { value: normalized_files[index].orig_name, index });
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user