Fix event code translation in NTSB feed, close #125
This commit is contained in:
parent
9600a5c2e4
commit
a7bb81ef2d
|
@ -635,8 +635,8 @@ def to_ul: if length > 0 then "<ul><li>\(map(values)|join("</li><li>"))</li></ul
|
|||
(.cm_events // [])[] | (
|
||||
(
|
||||
# Try to use the known event codes to map to more specific names
|
||||
$event_codes[.cm_tier2Num]
|
||||
// $event_codes[.cm_tier1Num]
|
||||
(try $event_codes[.cm_tier2Num] catch null)
|
||||
// (try $event_codes[.cm_tier1Num] catch null)
|
||||
# Fallback to the sometimes provided generic event group name
|
||||
// .cicttEventSOEGroup
|
||||
# Fallback to an error message
|
||||
|
|
Loading…
Reference in New Issue