Skip to content

Commit

Permalink
fix: Fixes primefaces#17264 Card component subheader property
Browse files Browse the repository at this point in the history
  • Loading branch information
Christian Tu committed Jan 2, 2025
1 parent df74566 commit 453e05a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/primeng/src/card/card.ts
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { CardStyle } from './style/cardstyle';
<ng-container *ngTemplateOutlet="titleTemplate || _titleTemplate"></ng-container>
</div>
<div class="p-card-subtitle" *ngIf="subheader || subtitleTemplate || _subtitleTemplate">
<ng-container *ngIf="subheader && !_subtitleTemplate && subtitleTemplate">{{ subheader }}</ng-container>
<ng-container *ngIf="subheader && !_subtitleTemplate && !subtitleTemplate">{{ subheader }}</ng-container>
<ng-container *ngTemplateOutlet="subtitleTemplate || _subtitleTemplate"></ng-container>
</div>
<div class="p-card-content">
Expand Down

0 comments on commit 453e05a

Please sign in to comment.