mirror of
https://github.com/immich-app/immich.git
synced 2025-06-16 21:38:28 +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) {
|
if (newValue > max) {
|
||||||
newValue = max;
|
newValue = max;
|
||||||
}
|
}
|
||||||
if (!required && value === '') {
|
value = !required && value === '' ? undefined : newValue;
|
||||||
value = undefined;
|
|
||||||
} else {
|
|
||||||
value = newValue;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue