Skip to content

Commit

Permalink
Separated integer and decimal formatting on datatable-single-row comp…
Browse files Browse the repository at this point in the history
…onent
  • Loading branch information
Dániel Gyenizse committed Dec 1, 2023
1 parent acf53af commit 801f9ad
Showing 1 changed file with 4 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,10 @@ <h3>{{datatableName}}</h3>
<span *ngSwitchCase="'DATETIME'">
{{dataObject.data[0].row[i] | datetimeFormat}}
</span>
<span *ngSwitchCase="'INTEGER' || 'DECIMAL'">
<span *ngSwitchCase="'INTEGER'">
{{dataObject.data[0].row[i]}}
</span>
<span *ngSwitchCase="'DECIMAL'">
{{dataObject.data[0].row[i] | formatNumber}}
</span>
<span *ngSwitchCase="'TEXT'" class="long-text">
Expand Down

0 comments on commit 801f9ad

Please sign in to comment.