feat: Ajout d'un minimum infini
This commit is contained in:
parent
a14621cdbe
commit
eca3b5b98d
|
@ -90,7 +90,7 @@ const results = ref(getResultsFromScore(score));
|
|||
const result = computed(() =>
|
||||
displayScoreResult.value
|
||||
? results.value
|
||||
.filter((r) => r.min <= scoreSum.value)
|
||||
.filter((r) => !r.min || r.min <= scoreSum.value)
|
||||
.filter((r) => !r.max || r.max >= scoreSum.value)[0]
|
||||
: null
|
||||
);
|
||||
|
|
Loading…
Reference in New Issue