Skip to content
Snippets Groups Projects
Commit 3032ad43 authored by David Smadja's avatar David Smadja
Browse files

use situation.slider for min and max values

parent 39cb1c6b
No related branches found
No related tags found
1 merge request!285Indicateur cas type graphique
Pipeline #19532 passed
......@@ -25,9 +25,10 @@
const personEntity = entityByKey[personEntityKey]
let variableOfInterest = $derived(situation.sliders![0].name)
let min = $derived(situation.sliders![0].min)
let max = $derived(situation.sliders![0].max)
let variableOfInterest = $derived(situation.slider!.name)
let min = $derived(situation.slider!.min)
let max = $derived(situation.slider!.max)
let personSituation = $derived(
situation[personEntity.key_plural!] as {
[populationId: string]: PopulationWithoutId
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment