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

Commit

Permalink
fix: eliminate eslint warnings (#241)
Browse files Browse the repository at this point in the history
  • Loading branch information
tychenjiajun authored May 16, 2019
1 parent f0ddd6c commit 1ba6f6a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
6 changes: 4 additions & 2 deletions components/drawer/DrawerHeader.vue
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,12 @@ export default {
mixins: [baseComponentMixin, themeClassMixin],
props: {
title: {
type: String
type: String,
default: ''
},
subTitle: {
type: String
type: String,
default: ''
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion components/icon-button/IconButton.vue
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
v-on="$listeners"
@MDCIconButtonToggle:change="$emit('change', $event.detail.isOn)"
>
<template v-if="this.icon && this.icon !== ''">
<template v-if="icon && icon !== ''">
{{ icon }}
</template>
<slot v-if="isIconButton" />
Expand Down

0 comments on commit 1ba6f6a

Please sign in to comment.