Skip to content

Commit

Permalink
Fixed #3836 - Button: icon only support for default templating
Browse files Browse the repository at this point in the history
  • Loading branch information
tugcekucukoglu committed Apr 4, 2023
1 parent d3c5ef8 commit e0b2b1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion components/lib/button/Button.vue
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export default {
return [
'p-button p-component',
{
'p-button-icon-only': this.icon && !this.label,
'p-button-icon-only': (this.icon && !this.label) || this.$slots.default,
'p-button-vertical': (this.iconPos === 'top' || this.iconPos === 'bottom') && this.label,
'p-disabled': this.$attrs.disabled || this.loading,
'p-button-loading': this.loading,
Expand Down

0 comments on commit e0b2b1d

Please sign in to comment.