Skip to content

Commit

Permalink
fix(analytics): preserve whitespace for exports
Browse files Browse the repository at this point in the history
  • Loading branch information
Yelinz committed Nov 5, 2024
1 parent fcfdede commit 20ad438
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions packages/analytics/addon/components/ca-report-preview.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,10 @@
{{#each this.data.value.fields as |row|}}
<tr>
{{#each row as |entry|}}
<td data-t={{this.getXLSXType entry.value}}>
<td
data-t={{this.getXLSXType entry.value}}
data-v={{entry.value}}
>
{{entry.value}}
</td>
{{/each}}
Expand All @@ -39,7 +42,10 @@
{{#if this.data.value.summary}}
<tr class="uk-text-bold">
{{#each this.data.value.summary as |summary|}}
<td data-t={{this.getXLSXType summary.value}}>
<td
data-t={{this.getXLSXType summary.value}}
data-v={{summary.value}}
>
{{summary.value}}
</td>
{{/each}}
Expand Down

0 comments on commit 20ad438

Please sign in to comment.