Skip to content

Commit

Permalink
need to fix loading team name onto matchsummary
Browse files Browse the repository at this point in the history
  • Loading branch information
joypan1 committed Mar 20, 2024
1 parent 4b2c424 commit 5b16607
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pages/matchsummary.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const getMatches = async () => {
if (allMatches && allMatches.length > 0) {
match_list.innerHTML = allMatches
.map(matches =>
<div class="match">
/*<div class="match">
<div class="content">
<input id="edit" class="text" readonly="readonly" type="text" value="${matches.matchnumber}">
</div>
Expand All @@ -48,7 +48,7 @@ const getMatches = async () => {
// BROKEN CODE //////////
)
.join("");
.join("");*/
} else {
//Handle case when no matches are found
match_list.innerHTML = "<p> No matches found. </p>";
Expand Down

0 comments on commit 5b16607

Please sign in to comment.