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({
36
36
} ) {
37
37
let eventType = session . event_type
38
38
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
+
39
47
const speakers = session . speakers
40
48
? isString ( session . speakers )
41
49
? ( session . speakers as string )
@@ -51,7 +59,8 @@ export function ScheduleSessionCard({
51
59
52
60
if ( eventType === eventTitle ) eventType = ""
53
61
54
- const eventColor = eventsColors [ session . event_type ]
62
+ const eventColor =
63
+ eventsColors [ session . event_subtype ] || eventsColors [ session . event_type ]
55
64
56
65
let blockTimeFraction = 1
57
66
if ( blockEnd . getTime ( ) !== new Date ( session . event_end ) . getTime ( ) ) {
You can’t perform that action at this time.
0 commit comments