Skip to content

Commit

Permalink
fix cannot read properties of undefined in ChaosFaultController (litm…
Browse files Browse the repository at this point in the history
…uschaos#4668)

Signed-off-by: JanhaviAlekar <janhavialekar@gmail.com>
Co-authored-by: Amit Kumar Das <amit.das@harness.io>
Signed-off-by: andoriyaprashant <prashantandoriya@gmail.com>
  • Loading branch information
2 people authored and andoriyaprashant committed Sep 7, 2024
1 parent e182bb2 commit 997d6fc
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 997d6fc

Please sign in to comment.