diff --git a/libs/components/src/button/button.component.html b/libs/components/src/button/button.component.html index 1a9cf1c1fd1..5d236080c4a 100644 --- a/libs/components/src/button/button.component.html +++ b/libs/components/src/button/button.component.html @@ -1,22 +1,18 @@ -@let showLoadingStyles = showLoadingStyle(); -@let leadIcon = startIcon(); -@let tailIcon = endIcon(); - - - @if (leadIcon || tailIcon) { + + @if (startIcon() || endIcon()) {
- @if (leadIcon) { + @if (startIcon()) { }
- @if (tailIcon) { + @if (endIcon()) { }
@@ -26,7 +22,7 @@ }
- @if (showLoadingStyles) { + @if (showLoadingStyle()) {