Skip to content

Commit

Permalink
primefaces#14508 Panel id generation
Browse files Browse the repository at this point in the history
  • Loading branch information
jasonverber committed Jan 8, 2024
1 parent ec65185 commit db40fe6
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/app/components/panel/panel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -205,9 +205,7 @@ export class Panel implements AfterContentInit, BlockableUI {

headerIconTemplate: Nullable<TemplateRef<any>>;

get id() {
return UniqueComponentId();
}
readonly id = UniqueComponentId();

get buttonAriaLabel() {
return this.header;
Expand Down

0 comments on commit db40fe6

Please sign in to comment.