mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-27 01:40:20 +08:00
ensure falsey values are set to null for images (#1891)
* ensure falsey values are set to null for images * cleanup
This commit is contained in:
parent
ef15a92ffa
commit
f4552a2264
@ -27,6 +27,8 @@
|
||||
|
||||
$: value, dispatch("change");
|
||||
let dragging: boolean;
|
||||
|
||||
$: value = !value ? null : value;
|
||||
</script>
|
||||
|
||||
<Block
|
||||
|
Loading…
Reference in New Issue
Block a user