From cf1ff74f9be4b1dd53f7896e47feaa1bce613084 Mon Sep 17 00:00:00 2001 From: Andrew Date: Sun, 30 Mar 2025 17:21:39 +0100 Subject: [PATCH] [frontend]: Ignore 'within KM' if <=0 --- frontend/src/App.jsx | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/frontend/src/App.jsx b/frontend/src/App.jsx index 798bae4..3393ec3 100644 --- a/frontend/src/App.jsx +++ b/frontend/src/App.jsx @@ -137,6 +137,10 @@ function App() { } const fetchData = async (enabledSources, numberInputValue) => { + if (numberInputValue <= 0) { + numberInputValue = undefined; + } + setLoading(true); try { const transientTypes = [];