From a80ed1403884d1f61e141fa521d163128b0a805f Mon Sep 17 00:00:00 2001 From: Gary Sharp Date: Thu, 10 Sep 2020 12:43:03 +1000 Subject: [PATCH] bug fix: csv device import first record was skipped --- Disco.Services/Devices/Importing/CsvDeviceImportDataReader.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Disco.Services/Devices/Importing/CsvDeviceImportDataReader.cs b/Disco.Services/Devices/Importing/CsvDeviceImportDataReader.cs index 31e36452..d5858f46 100644 --- a/Disco.Services/Devices/Importing/CsvDeviceImportDataReader.cs +++ b/Disco.Services/Devices/Importing/CsvDeviceImportDataReader.cs @@ -23,7 +23,7 @@ namespace Disco.Services.Devices.Importing { context = Context; rawData = RawData; - currentRowIndex = 0; + currentRowIndex = -1; rowOffset = HasHeaderRow ? 1 : 0; }