Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
LongmetalAdmin committed Mar 20, 2024
2 parents 27b5cd8 + 1b17f12 commit 4fe28c1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 4 additions & 3 deletions pages/matchsummary.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@

// Global Dexie database initialization
const db = new Dexie("Team Tracking App");
db.version(16).stores({
Expand Down Expand Up @@ -36,7 +37,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 @@ -46,9 +47,9 @@ const getMatches = async () => {
</div>
</div>

// BROKEN CODE //////////

)
.join("");*/
.join("");
} else {
//Handle case when no matches are found
match_list.innerHTML = "<p> No matches found. </p>";
Expand Down
2 changes: 2 additions & 0 deletions todolist.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,6 @@ steps to create the world's best scouting app (in no particular order)
8. i forgot. we need to teach the scouts how to use the app, even if this app is not used this year. that way, they have some familiarity when they look at it next year

9. should we consider exporting the data somehow to somewhere else? ie excel, sheets, etc. to archive data or to compile it all?

10. pls fix delete button on team list page

0 comments on commit 4fe28c1

Please sign in to comment.