Skip to content

Commit

Permalink
Remove unused style
Browse files Browse the repository at this point in the history
  • Loading branch information
cetincakiroglu committed Jul 23, 2024
1 parent 74cdc8c commit 212dff9
Showing 1 changed file with 3 additions and 15 deletions.
18 changes: 3 additions & 15 deletions src/app/components/confirmdialog/confirmdialog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{
<ng-container *ngTemplateOutlet="footerTemplate"></ng-container>
</div>
<div class="p-dialog-footer" *ngIf="!footer && !footerTemplate">
<p-button
<p-button
type="button"
pRipple
[label]="rejectButtonLabel"
Expand Down Expand Up @@ -131,11 +131,7 @@ const hideAnimation = animation([animate('{{transition}}', style({ transform: '{
`,
animations: [trigger('animation', [transition('void => visible', [useAnimation(showAnimation)]), transition('visible => void', [useAnimation(hideAnimation)])])],
changeDetection: ChangeDetectionStrategy.OnPush,
encapsulation: ViewEncapsulation.None,
styleUrls: ['../dialog/dialog.css'],
host: {
class: 'p-element'
}
encapsulation: ViewEncapsulation.None
})
export class ConfirmDialog implements AfterContentInit, OnInit, OnDestroy {
/**
Expand Down Expand Up @@ -440,15 +436,7 @@ export class ConfirmDialog implements AfterContentInit, OnInit, OnDestroy {

translationSubscription: Subscription | undefined;

constructor(
public el: ElementRef,
public renderer: Renderer2,
private confirmationService: ConfirmationService,
public zone: NgZone,
private cd: ChangeDetectorRef,
public config: PrimeNGConfig,
@Inject(DOCUMENT) private document: Document
) {
constructor(public el: ElementRef, public renderer: Renderer2, private confirmationService: ConfirmationService, public zone: NgZone, private cd: ChangeDetectorRef, public config: PrimeNGConfig, @Inject(DOCUMENT) private document: Document) {
this.subscription = this.confirmationService.requireConfirmation$.subscribe((confirmation) => {
if (!confirmation) {
this.hide();
Expand Down

0 comments on commit 212dff9

Please sign in to comment.