Skip to content

Commit

Permalink
fixes #16936
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Dec 5, 2024
1 parent 37ae7e4 commit 7757565
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions packages/primeng/src/dialog/dialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -496,19 +496,19 @@ export class Dialog extends BaseComponent implements OnInit, OnDestroy {
*/
@Input() headlessTemplate: TemplateRef<any> | undefined;

@ContentChild('header') _headerTemplate: TemplateRef<any> | undefined;
@ContentChild('header', { descendants: false }) _headerTemplate: TemplateRef<any> | undefined;

@ContentChild('content') _contentTemplate: TemplateRef<any> | undefined;
@ContentChild('content', { descendants: false }) _contentTemplate: TemplateRef<any> | undefined;

@ContentChild('footer') _footerTemplate: TemplateRef<any> | undefined;
@ContentChild('footer', { descendants: false }) _footerTemplate: TemplateRef<any> | undefined;

@ContentChild('closeicon') _closeiconTemplate: TemplateRef<any> | undefined;
@ContentChild('closeicon', { descendants: false }) _closeiconTemplate: TemplateRef<any> | undefined;

@ContentChild('maximizeicon') _maximizeiconTemplate: TemplateRef<any> | undefined;
@ContentChild('maximizeicon', { descendants: false }) _maximizeiconTemplate: TemplateRef<any> | undefined;

@ContentChild('minimizeicon') _minimizeiconTemplate: TemplateRef<any> | undefined;
@ContentChild('minimizeicon', { descendants: false }) _minimizeiconTemplate: TemplateRef<any> | undefined;

@ContentChild('headless') _headlessTemplate: TemplateRef<any> | undefined;
@ContentChild('headless', { descendants: false }) _headlessTemplate: TemplateRef<any> | undefined;

_visible: boolean = false;

Expand Down

0 comments on commit 7757565

Please sign in to comment.