Fix calendar page block default enabled views

This commit is contained in:
Atanas Yonkov
2023-04-12 15:54:30 +02:00
committed by Jože Fortun
parent 7d7155d68e
commit 1c4c4c4a29
@@ -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'