3
0

Fix calendar body not showing

This commit is contained in:
Katrin Yordanova
2023-01-13 14:54:43 +02:00
parent ed097b6822
commit b72ce116c0

View File

@@ -111,7 +111,6 @@ import { compose, NoID } from '@cortezaproject/corteza-js'
import { BootstrapTheme } from '@fullcalendar/bootstrap'
import { createPlugin } from '@fullcalendar/core'
import { evaluatePrefilter } from 'corteza-webapp-compose/src/lib/record-filter'
import { throttle } from 'lodash'
/**
* FullCalendar Corteza theme definition.
@@ -235,13 +234,13 @@ export default {
findModuleByID: 'module/findByID',
}),
updateSize: throttle(function () {
async updateSize () {
this.show = false
this.$nextTick(() => {
await this.$nextTick(() => {
this.show = true
})
}, 200),
},
/**
* Helper method to load requested locale.