We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 5e57281 + 7f84c66 commit 00331a6Copy full SHA for 00331a6
src/searchPublicApi.js
@@ -159,8 +159,8 @@ async function printTypes () {
159
const typesContainer = document.querySelector('#select-type')
160
161
const types = await getTypes()
162
-
163
- Object.keys(types).forEach(type => {
+ console.log(types)
+ types.forEach(type => {
164
typesContainer.innerHTML += `
165
<input type="radio" id="${type}" name="type" value="${type}">
166
<button onclick="document.getElementById('${type}').checked = true;" type="submit">${type}</button>
0 commit comments