mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-12 15:05:19 +00:00
[autofix.ci] apply automated fixes
This commit is contained in:
+1
-3
@@ -76,9 +76,7 @@ export const StopGracePeriodForm = ({ id, type }: StopGracePeriodFormProps) => {
|
|||||||
if (hasStopGracePeriodSwarm(data)) {
|
if (hasStopGracePeriodSwarm(data)) {
|
||||||
const value = data.stopGracePeriodSwarm;
|
const value = data.stopGracePeriodSwarm;
|
||||||
const normalizedValue =
|
const normalizedValue =
|
||||||
value === null || value === undefined
|
value === null || value === undefined ? null : Number(value);
|
||||||
? null
|
|
||||||
: Number(value);
|
|
||||||
form.reset({
|
form.reset({
|
||||||
value: normalizedValue,
|
value: normalizedValue,
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user