We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22a7a19 commit f8e1339Copy full SHA for f8e1339
app/utils/display.py
@@ -182,7 +182,10 @@ def create_event_list_from_alerts(api_events, cameras):
182
id={"type": "event-button", "index": event["event_id"]},
183
children=[
184
html.Div(
185
- f"{cameras[cameras["id"] == event["camera_id"]]['name'].values[0][:-3].replace('_', ' ')} : {int(event['azimuth'])}°",
+ (
186
+ f"{cameras[cameras['id'] == event['camera_id']]['name'].values[0][:-3].replace('_', ' ')}"
187
+ f" : {int(event['azimuth'])}°"
188
+ ),
189
style={"fontWeight": "bold"},
190
),
191
html.Div(event["created_at"].strftime("%Y-%m-%d %H:%M")),
0 commit comments