feat: Ajout d'un minimum infini
continuous-integration/drone/push Build is passing Details
continuous-integration/drone Build is passing Details

This commit is contained in:
Simon 2023-03-07 12:22:19 +01:00
parent a14621cdbe
commit eca3b5b98d
1 changed files with 1 additions and 1 deletions

View File

@ -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
);