Skip to content

Commit

Permalink
fix env group validator
Browse files Browse the repository at this point in the history
  • Loading branch information
ianedwards committed May 6, 2024
1 parent 9c32e7a commit a8bb431
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 a8bb431

Please sign in to comment.