[frontend]: Ignore 'within KM' if <=0
This commit is contained in:
@ -137,6 +137,10 @@ function App() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const fetchData = async (enabledSources, numberInputValue) => {
|
const fetchData = async (enabledSources, numberInputValue) => {
|
||||||
|
if (numberInputValue <= 0) {
|
||||||
|
numberInputValue = undefined;
|
||||||
|
}
|
||||||
|
|
||||||
setLoading(true);
|
setLoading(true);
|
||||||
try {
|
try {
|
||||||
const transientTypes = [];
|
const transientTypes = [];
|
||||||
|
Reference in New Issue
Block a user