Skip to content

Commit

Permalink
Merge pull request #14509 from jasonverber/fix/14508-panel-id
Browse files Browse the repository at this point in the history
Fix #14508 Panel id generation
  • Loading branch information
cetincakiroglu authored Jan 10, 2024
2 parents dd2a6e2 + db40fe6 commit 8c9f3d0
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 8c9f3d0

Please sign in to comment.