minor
This commit is contained in:
@@ -74,14 +74,14 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
computed: {
|
computed: {
|
||||||
...mapState(['settings', 'tags']),
|
...mapState(['settings']),
|
||||||
todayEvents () {
|
todayEvents () {
|
||||||
const start = dayjs(this.value.from).startOf('day').unix()
|
const start = dayjs(this.value.from).startOf('day').unix()
|
||||||
const end = dayjs(this.value.from).endOf('day').unix()
|
const end = dayjs(this.value.from).endOf('day').unix()
|
||||||
return this.events.filter(e => e.start_datetime >= start && e.start_datetime <= end)
|
return this.events.filter(e => e.start_datetime >= start && e.start_datetime <= end)
|
||||||
},
|
},
|
||||||
attributes () {
|
attributes () {
|
||||||
return attributesFromEvents(this.events, this.tags)
|
return attributesFromEvents(this.events)
|
||||||
},
|
},
|
||||||
fromDate () {
|
fromDate () {
|
||||||
if (this.value.multidate) {
|
if (this.value.multidate) {
|
||||||
|
|||||||
Reference in New Issue
Block a user