mirror of
https://github.com/Dokploy/dokploy
synced 2025-06-26 18:27:59 +00:00
refactor: remove limitRollback property from rollback settings schema
- Eliminated the limitRollback property from the form schema in show-rollback-settings.tsx to simplify the rollback configuration.
This commit is contained in:
@@ -25,7 +25,6 @@ import { z } from "zod";
|
|||||||
|
|
||||||
const formSchema = z.object({
|
const formSchema = z.object({
|
||||||
rollbackActive: z.boolean(),
|
rollbackActive: z.boolean(),
|
||||||
limitRollback: z.number().min(1).max(50),
|
|
||||||
});
|
});
|
||||||
|
|
||||||
type FormValues = z.infer<typeof formSchema>;
|
type FormValues = z.infer<typeof formSchema>;
|
||||||
|
|||||||
Reference in New Issue
Block a user