From 45f3e24e72e3524b8db0d62cf44576a9ad6f0dcc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Robert=20Sch=C3=BCler?= Date: Fri, 1 Mar 2024 17:16:42 +0100 Subject: [PATCH] removed unnecessary condition --- new/src/components/Scenarios/Scenario.tsx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/new/src/components/Scenarios/Scenario.tsx b/new/src/components/Scenarios/Scenario.tsx index 28edffad..030a9c74 100644 --- a/new/src/components/Scenarios/Scenario.tsx +++ b/new/src/components/Scenarios/Scenario.tsx @@ -35,7 +35,7 @@ export function Scenario(props: ScenarioProps) { [expanded] ); - return props.scenario.scenarioCases.length === 1 ? ( + return (
- ) : ( -
); } @@ -77,8 +75,6 @@ function SingleCaseScenario(props: { summary: string; className: string; }) { - - return ( {props.scenarioCase.steps.map((step: StepModel, index) => (