Skip to content
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export class SummaryListComponent {
public items?: SummaryItem[] = [];

public getFormattedLabel(item: SummaryItem): string {
return startCase(item.label.trim().replace('-', ' ').replace('_', ' ').toLowerCase());
return startCase(item.label.trim().toLowerCase());
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

trim is definitely still taken care of by startCase, the most intelligent of all cases. lower case may not be though.

}

public getValuesArray(item: SummaryItem): PrimitiveValue[] {
Expand Down