mirror of
https://github.com/immich-app/immich.git
synced 2025-12-08 08:13:55 +09:00
fix(web): allow numeric input fields to be zero (#21258)
This commit is contained in:
@@ -25,7 +25,8 @@
|
||||
}: Props = $props();
|
||||
|
||||
const oninput = () => {
|
||||
if (!value) {
|
||||
// value can be 0
|
||||
if (value === undefined) {
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user