This commit is contained in:
lesion
2019-06-06 23:54:32 +02:00
parent 745b9247c9
commit 3ca818f016
66 changed files with 989 additions and 532 deletions

View File

@@ -52,17 +52,18 @@ export default {
start: event.start_datetime, end: event.end_datetime
}
e.highlight = {
color: 'red' // : sample(['purple', 'red', 'green', 'blue']),
color: sample(['purple', 'red', 'green', 'blue']),
}
} else {
e.dates = event.start_datetime
e.dot = { color: 'rgba(102,10,20)' }
e.dot = { color: sample(['purple', 'red', 'green', 'blue']) }
}
return e
}
},
computed: {
...mapGetters(['filteredEvents']),
...mapState(['events']),
attributes () {
return [
{ key: 'today', dates: new Date(),