Skip to content
Snippets Groups Projects
Commit 74b7963f authored by Emmanuel Raviart's avatar Emmanuel Raviart
Browse files

Rename testCase to situation.

parent a0828a12
Branches
Tags
No related merge requests found
......@@ -24,7 +24,7 @@
export let enfants = []
// export let index: number
export let open: boolean
export let testCase: Situation
export let situation: Situation
export let vectorIndex = 0
export let year: number
......
......@@ -20,7 +20,7 @@
</script>
<section class="grid-cols-1 md:grid md:grid-cols-2 gap-10">
{#each $testCases as testCase, index}
{#each $testCases as situation, index}
<TestCaseView
on:changeAxes
on:changeSituation={({ detail }) => changeSituation(index, detail)}
......@@ -32,7 +32,7 @@
variableName: detail,
})}
open={index === 0}
{testCase}
{situation}
{vectorIndex}
{year}
/>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment