start with 1.0 changelog

This commit is contained in:
les
2021-06-04 17:39:15 +02:00
parent d640a7c260
commit 6b06550a7c
2 changed files with 13 additions and 13 deletions

View File

@@ -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