Skip to content

Commit

Permalink
fix: buttonlink component logic
Browse files Browse the repository at this point in the history
  • Loading branch information
tinuola committed Jan 12, 2024
1 parent 4762fa3 commit 66630c2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/lib-components/ButtonLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -95,11 +95,11 @@ export default {
return 'svg-arrow-right'
case this.linkTarget === '_blank' || this.iconName === 'svg-external-link':
return 'svg-external-link'
case this.iconName === 'none':
return ''
case this.iconName === 'icon-close':
case this.iconName:
return this.iconName
case this.iconName === 'none':
return ''
default:
return 'svg-external-link'
}
Expand Down

0 comments on commit 66630c2

Please sign in to comment.