fix cannot read properties of undefined in ChaosFaultController (#4668)
Signed-off-by: JanhaviAlekar <janhavialekar@gmail.com> Co-authored-by: Amit Kumar Das <amit.das@harness.io>
This commit is contained in:
parent
67a19857eb
commit
ff21351864
|
|
@ -34,7 +34,7 @@ export default function ChaosFaultController(): React.ReactElement {
|
|||
variables: {
|
||||
projectID: scope.projectID,
|
||||
hubID: hubID,
|
||||
experiments: experiments.length ? experiments : []
|
||||
experiments: experiments?.length ? experiments : []
|
||||
}
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue