This commit is contained in:
les
2020-11-06 11:05:05 +01:00
parent 0ac2edf69d
commit 47ed677362
10 changed files with 161 additions and 144 deletions

View File

@@ -104,7 +104,6 @@ export default {
return this.$t(`event.recurrent_${freq}_days`, { days: weekDay })
} else if (freq === '1m' || freq === '2m') {
const monthDay = date.format('D')
console.error('monthDay ', monthDay)
const n = Math.floor((monthDay - 1) / 7) + 1

View File

@@ -138,12 +138,11 @@ import { mapState } from 'vuex'
import EventAdmin from './eventAdmin'
import EmbedEvent from './embedEvent'
import FollowMe from '../../components/FollowMe'
import moment from 'moment-timezone'
import moment from 'dayjs'
const htmlToText = require('html-to-text')
export default {
name: 'Event',
transition: null,
components: { EventAdmin, EmbedEvent, FollowMe },
async asyncData ({ $axios, params, error, store }) {
try {
@@ -317,7 +316,6 @@ export default {
margin: 0 auto;
max-height: 80vh;
border-radius: 5px;
transition: max-height .2s;
transition: max-height 0.2s;
}
</style>