diff --git a/src/app/components/button/button.ts b/src/app/components/button/button.ts index 41bed597aac..90495589755 100755 --- a/src/app/components/button/button.ts +++ b/src/app/components/button/button.ts @@ -280,7 +280,7 @@ export class ButtonDirective implements AfterViewInit, OnDestroy { DomHandler.addMultipleClasses(iconElement, iconClass); } - if (this.loading && !this.loadingIcon) { + if (!this.loadingIcon && this.loading) { iconElement.innerHTML = this.spinnerIcon; }