diff --git a/src/services/exporter.ts b/src/services/exporter.ts index 5711ad3..2654f8d 100644 --- a/src/services/exporter.ts +++ b/src/services/exporter.ts @@ -146,18 +146,12 @@ export class Exporter { private _writeCsv(stream, series) { for(let row of series.values) { - const isEmpty = _.every( - _.slice(row, 1), - val => val === null - ); - if(!isEmpty) { - let csvRow = {}; - for(let col in series.columns) { - csvRow[series.columns[col]] = row[col]; - } - stream.write(csvRow); - this._task.progress.exportedRowsCount++; + let csvRow = {}; + for(let col in series.columns) { + csvRow[series.columns[col]] = row[col]; } + stream.write(csvRow); + this._task.progress.exportedRowsCount++; } }