Fix calendar page block default enabled views
This commit is contained in:
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'
|
||||
|
||||
Reference in New Issue
Block a user