This commit is contained in:
lesion 2022-06-01 12:33:28 +02:00
parent 67f2be6ac0
commit 94bb72e9e1
No known key found for this signature in database
GPG key ID: 352918250B012177

View file

@ -74,14 +74,14 @@ export default {
}
},
computed: {
...mapState(['settings', 'tags']),
...mapState(['settings']),
todayEvents () {
const start = dayjs(this.value.from).startOf('day').unix()
const end = dayjs(this.value.from).endOf('day').unix()
return this.events.filter(e => e.start_datetime >= start && e.start_datetime <= end)
},
attributes () {
return attributesFromEvents(this.events, this.tags)
return attributesFromEvents(this.events)
},
fromDate () {
if (this.value.multidate) {