From 4124f8fee4db4e546f836ff2ab9b2222cbb5c666 Mon Sep 17 00:00:00 2001 From: Katrin Yordanova Date: Wed, 11 Jan 2023 12:18:46 +0200 Subject: [PATCH] Fix calendar body not showing --- .../web/compose/src/components/PageBlocks/CalendarBase.vue | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/client/web/compose/src/components/PageBlocks/CalendarBase.vue b/client/web/compose/src/components/PageBlocks/CalendarBase.vue index a5ada3e2b..4e4de6aa2 100644 --- a/client/web/compose/src/components/PageBlocks/CalendarBase.vue +++ b/client/web/compose/src/components/PageBlocks/CalendarBase.vue @@ -109,7 +109,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. @@ -230,13 +229,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.