You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
For getApis() at app.js the input.value isn't checked to see if a valid category is selected causing the system to waste fetch requests if an invalid category was selected.
A simple solution would be to put a validity checker above renderLoader() by exiting getApis() function if a category == "Select Category". As "Select Category" is the only available invalid selectable category from the current option's, making a simple if statement all that's needed to fix this bug.
if (category === "Select Category") return;
The text was updated successfully, but these errors were encountered:
For
getApis()
atapp.js
the input.value isn't checked to see if a valid category is selected causing the system to waste fetch requests if an invalid category was selected.Apihouse/app.js
Lines 20 to 26 in 4b3243b
To Reproduce
Steps to reproduce the behaviour:
Potential Solution
A simple solution would be to put a validity checker above
renderLoader()
by exiting getApis() function if a category == "Select Category". As "Select Category" is the only available invalid selectable category from the current option's, making a simple if statement all that's needed to fix this bug.The text was updated successfully, but these errors were encountered: