Skip to content

Commit

Permalink
fix: table expandedrow template naming typo, fixes #17319
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jan 8, 2025
1 parent 47de0cb commit a7e3d31
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions packages/primeng/src/table/table.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1068,7 +1068,7 @@ export class Table extends BaseComponent implements OnInit, AfterViewInit, After
@ContentChild('colgroup', { descendants: false }) _colGroupTemplate: TemplateRef<any>;
colGroupTemplate: Nullable<TemplateRef<any>>;

@ContentChild('rowexpansion', { descendants: false }) _expandedRowTemplate: TemplateRef<any>;
@ContentChild('expandedrow', { descendants: false }) _expandedRowTemplate: TemplateRef<any>;
expandedRowTemplate: Nullable<TemplateRef<any>>;

@ContentChild('groupheader', { descendants: false }) _groupHeaderTemplate: TemplateRef<any>;
Expand Down Expand Up @@ -1283,7 +1283,7 @@ export class Table extends BaseComponent implements OnInit, AfterViewInit, After
this.colGroupTemplate = item.template;
break;

case 'rowexpansion':
case 'expandedrow':
this.expandedRowTemplate = item.template;
break;

Expand Down

0 comments on commit a7e3d31

Please sign in to comment.