Skip to content
Snippets Groups Projects
Commit d9bb28e3 authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

Fix bug slider range

parent ed707835
No related branches found
No related tags found
No related merge requests found
Pipeline #118927 passed with stages
in 8 minutes and 4 seconds
...@@ -132,7 +132,7 @@ const hasPlddt = computed(() => props.db === 'structure') ...@@ -132,7 +132,7 @@ const hasPlddt = computed(() => props.db === 'structure')
// Fetch results // Fetch results
const plddtFilter = computed(() => { const plddtFilter = computed(() => {
const plddtRangeValue = plddtRange.value const plddtRangeValue = plddtRange.value
if (hasPlddt.value && plddtRangeValue?.length === 2 && plddtRangeValue[0] !== 0 && plddtRangeValue[1] !== 100) { if (hasPlddt.value && plddtRangeValue?.length === 2 && (plddtRangeValue[0] !== 0 || plddtRangeValue[1] !== 100)) {
return `plddts ${plddtRangeValue[0]} TO ${plddtRangeValue[1]}` return `plddts ${plddtRangeValue[0]} TO ${plddtRangeValue[1]}`
} else { } else {
return undefined return undefined
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment