fix(topology): repair controls navigation and details
This commit is contained in:
@@ -112,10 +112,14 @@ def fetch_snapshot(snapshot_at):
|
||||
cv.diameter_m,
|
||||
cv.mass_t,
|
||||
cv.detail_url,
|
||||
cv.properties
|
||||
cv.properties,
|
||||
intro_mission.code AS introduced_mission,
|
||||
e_intro.effective_at AS introduced_at
|
||||
FROM components c
|
||||
JOIN mission_events e_intro
|
||||
ON e_intro.id = c.introduced_by_event_id
|
||||
JOIN missions intro_mission
|
||||
ON intro_mission.id = e_intro.mission_id
|
||||
LEFT JOIN mission_events e_retire
|
||||
ON e_retire.id = c.retired_by_event_id
|
||||
LEFT JOIN LATERAL (
|
||||
@@ -144,6 +148,8 @@ def fetch_snapshot(snapshot_at):
|
||||
"summary": row["summary"],
|
||||
"description": row["description"],
|
||||
"detailUrl": row["detail_url"],
|
||||
"introducedMission": row["introduced_mission"],
|
||||
"introducedAt": row["introduced_at"].isoformat(),
|
||||
"dimensions": {},
|
||||
"properties": row["properties"] or {},
|
||||
"ports": [],
|
||||
|
||||
Reference in New Issue
Block a user