Fix array.join()
This commit is contained in:
parent
2bf95e8134
commit
b37cbdb1d0
@ -35,7 +35,7 @@ async function insertData(json) {
|
||||
let results = 0
|
||||
for(var i = 0; i < json.length; i++) { // Hopefully can style output with CSS
|
||||
tableData += `<tr><td class="pis-code">${json[i]['code']}</td>
|
||||
<td class="station">${json[i]['stops']}</td></tr>`
|
||||
<td class="station">${json[i]['stops'].join(', ')}</td></tr>`
|
||||
results++
|
||||
}
|
||||
tableData += "</table>"
|
||||
|
Reference in New Issue
Block a user