From 1c4c4c4a29c2044177d44206291aaf2007b8b3eb Mon Sep 17 00:00:00 2001 From: Atanas Yonkov Date: Tue, 11 Apr 2023 16:04:03 +0300 Subject: [PATCH] Fix calendar page block default enabled views --- lib/js/src/compose/types/page-block/calendar/page-block.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/js/src/compose/types/page-block/calendar/page-block.ts b/lib/js/src/compose/types/page-block/calendar/page-block.ts index c22241977..24f8c1f93 100644 --- a/lib/js/src/compose/types/page-block/calendar/page-block.ts +++ b/lib/js/src/compose/types/page-block/calendar/page-block.ts @@ -71,7 +71,7 @@ export class PageBlockCalendar extends PageBlock { {}, this.options.header, o.header, - { views: PageBlockCalendar.handleLegacyViews(o.header?.views || []) }, + { views: PageBlockCalendar.handleLegacyViews(o.header?.views || ['dayGridMonth']) }, ) this.options.locale = o.locale || 'en-gb'