bug fix: csv device import first record was skipped

This commit is contained in:
Gary Sharp
2020-09-10 12:43:03 +10:00
parent f3e0939a06
commit a80ed14038
@@ -23,7 +23,7 @@ namespace Disco.Services.Devices.Importing
{
context = Context;
rawData = RawData;
currentRowIndex = 0;
currentRowIndex = -1;
rowOffset = HasHeaderRow ? 1 : 0;
}