Skip to content

Commit

Permalink
fix env group validator (#4606)
Browse files Browse the repository at this point in the history
  • Loading branch information
ianedwards authored May 6, 2024
1 parent 9c32e7a commit b9db64f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dashboard/src/main/home/env-dashboard/EnvDashboard.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@ const EnvDashboard: React.FC<Props> = (props) => {

const data = await z
.object({
environment_groups: z.array(envGroupValidator),
environment_groups: z.array(envGroupValidator).default([]),
})
.parseAsync(res.data);
return data;
Expand Down

0 comments on commit b9db64f

Please sign in to comment.