remove a small warning

This commit is contained in:
lesion 2023-03-09 21:24:45 +01:00
parent ccffe5f7b0
commit b401d829db
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -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')