diff --git a/webClient/src/app/shared/http/http.data.adapter.service.ts b/webClient/src/app/shared/http/http.data.adapter.service.ts index 005e42f5..48d5fd51 100644 --- a/webClient/src/app/shared/http/http.data.adapter.service.ts +++ b/webClient/src/app/shared/http/http.data.adapter.service.ts @@ -99,7 +99,7 @@ export class DataAdapterService { convertDatasetContent(responseData: any): { contents: string, etag: string } { return { - contents: JSON.parse(responseData).records.filter(function(record){return record.length > 0}).map(function(record){return record.trim()}).join("\n"), + contents: JSON.parse(responseData).records.filter(function(record){return record.length > 0}).map(function(record){return record.trimEnd()}).join("\n"), etag: JSON.parse(responseData).etag }; }