Skip to content

Commit

Permalink
Keep leading spaces in dataset content
Browse files Browse the repository at this point in the history
Signed-off-by: Martin Zeithaml <[email protected]>
  • Loading branch information
Martin-Zeithaml committed May 16, 2022
1 parent 0bc343c commit 826e799
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webClient/src/app/shared/http/http.data.adapter.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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
};
}
Expand Down

0 comments on commit 826e799

Please sign in to comment.