mirror of
https://github.com/immich-app/immich.git
synced 2025-06-08 21:38:40 +02:00
fix: lint
This commit is contained in:
parent
0890d018a7
commit
1c5aba566b
1 changed files with 1 additions and 5 deletions
|
@ -56,11 +56,7 @@
|
|||
if (newValue > max) {
|
||||
newValue = max;
|
||||
}
|
||||
if (!required && value === '') {
|
||||
value = undefined;
|
||||
} else {
|
||||
value = newValue;
|
||||
}
|
||||
value = !required && value === '' ? undefined : newValue;
|
||||
}
|
||||
};
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue