Commit f7518404 authored by draenen's avatar draenen Committed by Mingsong Hu

Issue #3150701 by draenen: "Default View" setting does not use the correct...

Issue #3150701 by draenen: "Default View" setting does not use the correct button names for week and day options
parent b177cc93
......@@ -189,8 +189,8 @@ class FullCalendarDisplay extends StylePluginBase {
'#fieldset' => 'display',
'#options' => [
'dayGridMonth' => $this->t('Month'),
'agendaWeek' => $this->t('Week'),
'dayGridWeek' => $this->t('Day'),
'timeGridWeek' => $this->t('Week'),
'timeGridDay' => $this->t('Day'),
'listYear' => $this->t('List'),
],
'#default_value' => (empty($this->options['default_view'])) ? 'month' : $this->options['default_view'],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment