Closed simon-leech closed 2 months ago
Just pushed another commit to check that the filter.min
and filter.max
are numeric, if not the no data message is returned
Issues
0 New issues
0 Accepted issues
Measures
0 Security Hotspots
No data about Coverage
0.0% Duplication on New Code
Added a check for whether response is null
before checking response[minmax]
.
Added a simple test workspace as well: Filter workspace
Looks good to me though!
In the
filter.mjs
- we were calling thegenerateMinMax
function to get the data for the minimum or maximum values of the filter sliders. However, we were not awaiting these which meant that the values were not being returned correctly, and the no data message was being shown when there was actually data.