File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed
src/app/conf/2025/schedule/_components Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change @@ -36,6 +36,14 @@ export function ScheduleSessionCard({
3636} ) {
3737 let eventType = session . event_type
3838
39+ if (
40+ session . event_type === "GraphQL in Production" ||
41+ session . event_type === "Developer Experience" ||
42+ session . event_type === "Session Presentations"
43+ ) {
44+ eventType = session . event_subtype
45+ }
46+
3947 const speakers = session . speakers
4048 ? isString ( session . speakers )
4149 ? ( session . speakers as string )
@@ -51,7 +59,8 @@ export function ScheduleSessionCard({
5159
5260 if ( eventType === eventTitle ) eventType = ""
5361
54- const eventColor = eventsColors [ session . event_type ]
62+ const eventColor =
63+ eventsColors [ session . event_subtype ] || eventsColors [ session . event_type ]
5564
5665 let blockTimeFraction = 1
5766 if ( blockEnd . getTime ( ) !== new Date ( session . event_end ) . getTime ( ) ) {
You can’t perform that action at this time.
0 commit comments