Commit a0df17e
committed
Fix off-by-one in validation error row index
Account for the header row when reporting CSV line numbers.
PapaParse with header:true excludes the header from data, so
data[0] is line 2 in the original file.1 parent 4123b03 commit a0df17e
1 file changed
Lines changed: 1 addition & 1 deletion
File tree
- x-pack/solutions/security/plugins/security_solution/public/entity_analytics/components/entity_resolution_file_uploader
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
112 | 112 | | |
113 | 113 | | |
114 | 114 | | |
115 | | - | |
| 115 | + | |
116 | 116 | | |
117 | 117 | | |
118 | 118 | | |
| |||
0 commit comments