Skip to content

Commit

Permalink
fix cannot read properties of undefined in ChaosFaultController
Browse files Browse the repository at this point in the history
Signed-off-by: JanhaviAlekar <janhavialekar@gmail.com>
  • Loading branch information
JanhaviAlekar committed May 22, 2024
1 parent 44b0ade commit 2379790
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion chaoscenter/web/src/controllers/ChaosFault/ChaosFault.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ export default function ChaosFaultController(): React.ReactElement {
variables: {
projectID: scope.projectID,
hubID: hubID,
experiments: experiments.length ? experiments : []
experiments: experiments?.length ? experiments : []
}
});
}
Expand Down

0 comments on commit 2379790

Please sign in to comment.