Skip to content

Commit

Permalink
restore change
Browse files Browse the repository at this point in the history
  • Loading branch information
SoyDiego committed Jun 2, 2024
1 parent 17f4318 commit 45141f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/components/button/button.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 45141f4

Please sign in to comment.