Skip to content

Commit b399c62

Browse files
committed
Look for 12 columns (new) instead of 11.
1 parent 103a31d commit b399c62

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

web/src/pages/ShotHistory/utils.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -21,9 +21,9 @@ export function parseHistoryData(shot) {
2121

2222
const numbers = lines[i].split(',');
2323

24-
// Skip incomplete lines (should have 11 columns)
25-
if (numbers.length !== 11) {
26-
console.warn(`Skipping incomplete line ${i}: "${lines[i]}" (${numbers.length}/11 columns)`);
24+
// Skip incomplete lines (should have 12 columns: t,tt,ct,tp,cp,fl,tf,pf,vf,v,ev,pr)
25+
if (numbers.length !== 12) {
26+
console.warn(`Skipping incomplete line ${i}: "${lines[i]}" (${numbers.length}/12 columns)`);
2727
continue;
2828
}
2929

0 commit comments

Comments
 (0)