Skip to content

Commit

Permalink
Updated variables name & desc
Browse files Browse the repository at this point in the history
  • Loading branch information
fe51 committed Dec 17, 2024
1 parent db5e3d0 commit 41abce0
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
4 changes: 2 additions & 2 deletions app/callbacks/display_callbacks.py
Original file line number Diff line number Diff line change
Expand Up @@ -379,7 +379,7 @@ def update_download_link(slider_value, alert_data):
Output("vision_polygons-md", "children"),
Output("map-md", "center"),
Output("alert-camera-value", "children"),
Output("alert-location-value", "children"),
Output("camera-location-value", "children"),
Output("alert-azimuth-value", "children"),
Output("alert-date-value", "children"),
Output("alert-information", "style"),
Expand All @@ -401,7 +401,7 @@ def update_map_and_alert_info(alert_data):
- list: List of vision polygon elements to be displayed on the modal map.
- list: New center coordinates for the modal map.
- str: Camera information for the alert.
- str: Location information for the alert.
- str: Camera location for the alert.
- str: Detection angle for the alert.
- str: Date of the alert.
- dict: Style settings for alert information.
Expand Down
7 changes: 3 additions & 4 deletions app/pages/homepage.py
Original file line number Diff line number Diff line change
Expand Up @@ -203,15 +203,14 @@ def homepage_layout(user_headers, user_credentials, lang="fr"):
],
),
html.Div(
id="alert-location",
id="camera-location",
style={"marginBottom": "10px"},
children=[
html.Span(
id="alert-location-header",
children=translate[lang]["location"],
id="camera-location-header",
children=translate[lang]["camera_location"],
),
html.Span(id="alert-location-value", children=[]),
html.Span(id="camera-location-value", children=[]),
],
),
html.Div(
Expand Down

0 comments on commit 41abce0

Please sign in to comment.