Hiding RangeSlider when the range is 0 - 0

Hello All, im currently using a range slider as a dropdown for an section that produces delivery weeks e.g. 0 weeks to deliver — 4 weeks to deliver

is there any way to hide the dropdown if the result is 0 weeks to 0 weeks ? I’m using instantsearch.js 25