mirror of
https://github.com/gradio-app/gradio.git
synced 2024-11-21 01:01:05 +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