remove a small warning
This commit is contained in:
parent
ccffe5f7b0
commit
b401d829db
1 changed files with 12 additions and 10 deletions
|
@ -38,7 +38,7 @@ export default {
|
|||
this.$fetch()
|
||||
}
|
||||
},
|
||||
data ({ $store }) {
|
||||
data () {
|
||||
return {
|
||||
mdiMagnify, mdiCloseCircle,
|
||||
isCurrentMonth: true,
|
||||
|
@ -89,6 +89,7 @@ export default {
|
|||
created () {
|
||||
this.$root.$on('dayclick', this.dayChange)
|
||||
this.$root.$on('monthchange', this.monthChange)
|
||||
if (process.client) {
|
||||
this.storeUnsubscribe = this.$store.subscribeAction( { after: (action, state) => {
|
||||
if (action.type === 'setFilter') {
|
||||
if (this.filter.query && this.filter.query.length > 2) {
|
||||
|
@ -99,6 +100,7 @@ export default {
|
|||
}
|
||||
}
|
||||
}})
|
||||
}
|
||||
},
|
||||
destroyed () {
|
||||
this.$root.$off('dayclick')
|
||||
|
|
Loading…
Reference in a new issue