Skip to content

Commit

Permalink
Don't add header title if header template provided, fixes swimlane#643
Browse files Browse the repository at this point in the history
  • Loading branch information
Jeremy Litzebauer committed Apr 19, 2017
1 parent 46db440 commit 2ce2329
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/header/header-cell.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ export class DataTableHeaderCellComponent {
@HostBinding('attr.title')
get name(): string {
// guaranteed to have a value by setColumnDefaults() in column-helper.ts
return this.column.name;
return this.column.headerTemplate === undefined ? this.column.name : undefined;
}

@HostBinding('style.minWidth.px')
Expand Down

0 comments on commit 2ce2329

Please sign in to comment.