start with 1.0 changelog
This commit is contained in:
@@ -21,19 +21,6 @@ export const state = () => ({
|
||||
})
|
||||
|
||||
export const mutations = {
|
||||
// setEvents (state, events) {
|
||||
// // set`past` and `newDay` flags to event
|
||||
// let lastDay = null
|
||||
// state.events = events.map(e => {
|
||||
// const currentDay = dayjs.unix(e.start_datetime).date()
|
||||
// e.newDay = (!lastDay || lastDay !== currentDay) && currentDay
|
||||
// lastDay = currentDay
|
||||
// const end_datetime = e.end_datetime || e.start_datetime + 3600 * 2
|
||||
// const past = ((dayjs().unix()) - end_datetime) > 0
|
||||
// e.past = !!past
|
||||
// return e
|
||||
// })
|
||||
// },
|
||||
update (state, { tags, places }) {
|
||||
state.tags = tags
|
||||
state.places = places
|
||||
|
||||
Reference in New Issue
Block a user