Create the upcoming events component
This commit is contained in:
@@ -118,6 +118,11 @@ export function dataToPage(pageRecord: any): WebPage {
|
||||
eventRecord["map_location"]["coordinates"][1],
|
||||
eventRecord["map_location"]["coordinates"][0]
|
||||
],
|
||||
thumbnail: {
|
||||
url: getImageUrl(eventRecord["thumbnail"]["filename_disk"]),
|
||||
width: eventRecord["thumbnail"]["width"],
|
||||
height: eventRecord["thumbnail"]["height"]
|
||||
},
|
||||
startDate: eventRecord["start_date"],
|
||||
endDate: eventRecord["end_date"]
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user