Skip to content
This repository has been archived by the owner on Nov 30, 2020. It is now read-only.

Commit

Permalink
fix: missing disabled prop in list item (#211)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychenjiajun authored and matsp committed Apr 1, 2019
1 parent 5f31e14 commit 7c013e5
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion components/list/ListItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,10 @@ export default {
href: {
type: String,
default: ''
},
disabled: {
type: Boolean,
default: false
}
},
data () {
Expand All @@ -98,7 +102,8 @@ export default {
classes () {
return {
'mdc-list-item--activated': this.activated,
'mdc-list-item--selected': this.selected
'mdc-list-item--selected': this.selected,
'mdc-list-item--disabled': this.disabled
}
}
},
Expand Down

0 comments on commit 7c013e5

Please sign in to comment.