diff --git a/frigate/timeline.py b/frigate/timeline.py
index c34d7a71e..e1158693f 100644
--- a/frigate/timeline.py
+++ b/frigate/timeline.py
@@ -106,7 +106,7 @@ class TimelineProcessor(threading.Thread):
prev_event_data.get("sub_label") is None
and event_data.get("sub_label") is not None
):
- sub_label = event_data["sub_label"]
+ sub_label = event_data["sub_label"][0]
if sub_label not in ALL_ATTRIBUTE_LABELS:
timeline_entry[Timeline.class_type] = "sub_label"
diff --git a/web/src/components/TimelineSummary.jsx b/web/src/components/TimelineSummary.jsx
index 69f04d217..6a9a88581 100644
--- a/web/src/components/TimelineSummary.jsx
+++ b/web/src/components/TimelineSummary.jsx
@@ -137,6 +137,13 @@ function getTimelineIcon(timelineItem) {
default:
return ;
}
+ case 'sub_label':
+ switch (timelineItem.data.label) {
+ case 'person':
+ return ;
+ case 'car':
+ return ;
+ }
}
}