Skip to content

Commit

Permalink
fix(badge): badge default variant
Browse files Browse the repository at this point in the history
  • Loading branch information
Pooya Parsa committed Aug 11, 2017
1 parent 30d35a7 commit 1403ec4
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/components/badge.vue
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
export default {
computed: {
badgeVariant() {
return !this.variant || this.variant === `default` ? `badge-default` : `badge-${this.variant}`;
return `badge-${this.variant}`;
},
badgePill() {
return this.pill ? 'badge-pill' : '';
Expand All @@ -17,7 +17,7 @@
props: {
variant: {
type: String,
default: 'default'
default: 'secondary'
},
pill: {
type: Boolean,
Expand Down

0 comments on commit 1403ec4

Please sign in to comment.