Skip to content

Commit

Permalink
testing
Browse files Browse the repository at this point in the history
  • Loading branch information
Ryan-Bauroth committed Feb 21, 2024
1 parent 81baedc commit f412382
Showing 1 changed file with 3 additions and 6 deletions.
9 changes: 3 additions & 6 deletions pages/teams.vue
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,6 @@ for(let data of teamOrgMatches){
}
}
let test = ref<Array<any>>(["testing"])
async function tableSetup() {
teamsData.length = 0
Expand Down Expand Up @@ -155,7 +153,6 @@ async function tableSetup() {
for (let match of value) {
if (allowedEvents.includes(match.event.replace(/[0-9]/g, ''))) {
data.push(match)
test.value.push(JSON.stringify(data))
}
}
}
Expand Down Expand Up @@ -190,8 +187,8 @@ async function tableSetup() {
}
}
}
debug(JSON.stringify(data))
if (data.length > 0) {
test.value.push(JSON.stringify(data))
let arr = {
team: key,
amp: getAverageAmpCycles(data).toFixed(2),
Expand All @@ -216,8 +213,8 @@ async function tableSetup() {
}
}
function debug(){
for(let error of test.value) toast.add({ title: error })
function debug(text:string){
toast.add({ title: text })
}
function analyzeNotes(teamArrays: Array<any>){
Expand Down

0 comments on commit f412382

Please sign in to comment.