Commit 4eac6da2 authored by Andrei Mondoc's avatar Andrei Mondoc
Browse files

event type not showing

parent 3848d6e4
......@@ -11,7 +11,7 @@ const EventOption = (props) => {
{data.title}
</span>
<span style={{ fontSize: '12px', display: 'block' }}>
{data['event_type.label']}:{' '}
{data['event_type_id.label'] ?? data['event_type_id:label']}:{' '}
{date('F j, Y g:i a', data.start_date)} | id:{data.id}
</span>
<span style={{ fontSize: '12px', display: 'block' }}>
......@@ -32,7 +32,7 @@ const getChildEvents = (eventId) => {
return: [
'title',
'summary',
'event_type.label',
'event_type_id.label',
'start_date',
'end_date',
],
......@@ -70,7 +70,7 @@ const SelectEventControl = ({ id, setAttributes }) => {
select: [
'title',
'summary',
'event_type.label',
'event_type_id:label',
'start_date',
'end_date',
],
......
Supports Markdown
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