SeasonType
This commit is contained in:
@@ -170,9 +170,10 @@ async function createStatsTable(playerObject) {
|
||||
//for (attribute in player) {
|
||||
// row.innerHTML += `<td>${player}</td>l`;
|
||||
//}
|
||||
console.log(row)
|
||||
rowElement.innerHTML = `
|
||||
<td>${row.season}</td>
|
||||
<td>${row.SeasonType === "REG" ? "Regular" : "Post"}</td>
|
||||
<td>${row.seasontype == "REG" ? "Regular" : "Post"}</td>
|
||||
<td>${row.week}</td>
|
||||
<td>${row.pass_attempts}</td>
|
||||
<td>${row.complete_pass}</td>
|
||||
|
||||
Reference in New Issue
Block a user