[frontend]: Bus error handling
This commit is contained in:
@ -279,6 +279,11 @@ function App() {
|
|||||||
break;
|
break;
|
||||||
|
|
||||||
case "Bus":
|
case "Bus":
|
||||||
|
if (item.busRouteAgencyName === "" || item.busRouteLongName === "" || item.busRouteShortName === "") {
|
||||||
|
display = false;
|
||||||
|
break;
|
||||||
|
}
|
||||||
|
|
||||||
display = item.latitude !== "0" &&
|
display = item.latitude !== "0" &&
|
||||||
item.longitude !== "0" &&
|
item.longitude !== "0" &&
|
||||||
(numberInputValue && userLocationAvailable
|
(numberInputValue && userLocationAvailable
|
||||||
|
Reference in New Issue
Block a user