From 7f3b689966e203b254d825fbb6d3f3961760ecdf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C3=87etin?= <69278826+cetincakiroglu@users.noreply.github.com> Date: Wed, 24 Jan 2024 17:41:50 +0300 Subject: [PATCH] Fixed #14557 --- src/app/components/button/button.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts index 788b90f7bc3..196fba84d5d 100755 --- a/src/app/components/button/button.ts +++ b/src/app/components/button/button.ts @@ -411,6 +411,8 @@ export class Button implements AfterContentInit { @ContentChildren(PrimeTemplate) templates: QueryList | undefined; + constructor(public el: ElementRef) {} + spinnerIconClass(): string { return Object.entries(this.iconClass()) .filter(([, value]) => !!value)