Skip to content

Commit

Permalink
fix: [CHAOS-5382]: addressed reviews
Browse files Browse the repository at this point in the history
Signed-off-by: Sahil <[email protected]>
  • Loading branch information
SahilKr24 committed Jun 5, 2024
1 parent 0cdb11d commit 54cff8e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/harness-chaos/src/components/Router.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { isV1Compatible, isV2Compatible } from '../utils/getCompatibleVersion';

/** @public */
export const isHarnessChaosAvailable = (entity: Entity | undefined) => {
if (!entity) return true;
if (!entity) return false;
return isV1Compatible(entity) || isV2Compatible(entity);
};
/** @public */
Expand Down

0 comments on commit 54cff8e

Please sign in to comment.