Skip to content

A modern and easy to use dashboard. 80+ integrations. 20K+ icons built in. Authentication out of the box. No YAML, drag and drop configuration.

fix: groups can be created with empty names (#1267)

Meier Lukas98cf214aed94
diff --git a/packages/validation/src/group.ts b/packages/validation/src/group.ts
index f30898f95..cd476c5df 100644
--- a/packages/validation/src/group.ts
+++ b/packages/validation/src/group.ts
@@ -6,7 +6,7 @@ import { byIdSchema } from "./common";
import { zodEnumFromArray } from "./enums";
const createSchema = z.object({
- name: z.string().max(64),
+ name: z.string().trim().min(1).max(64),
});
const updateSchema = createSchema.merge(byIdSchema);