some old event was flagged has multidate but without an end_datetime?
fix #245
This commit is contained in:
parent
e6977368c5
commit
71fdeb6ff8
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@ export default ({ app, store }, inject) => {
|
||||||
const key = `${start.month}${start.day}`
|
const key = `${start.month}${start.day}`
|
||||||
const c = (e.end_datetime || e.start_datetime) < now ? 'vc-past' : ''
|
const c = (e.end_datetime || e.start_datetime) < now ? 'vc-past' : ''
|
||||||
|
|
||||||
if (e.multidate === true) {
|
if (e.multidate === true && e.end_datetime) {
|
||||||
attributes.push({
|
attributes.push({
|
||||||
dates: { start: start.toJSDate(), end: DateTime.fromSeconds(e.end_datetime).toJSDate() },
|
dates: { start: start.toJSDate(), end: DateTime.fromSeconds(e.end_datetime).toJSDate() },
|
||||||
highlight: {
|
highlight: {
|
||||||
|
|
Loading…
Reference in a new issue