-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: use map_source_config/2 to calculate values in Signs.Realtime
Defines `map_source_config/2`, a function for applying a function to SourceConfig values (both single and top/bottom--tuple). Uses the new `map_source_config/2` function to calculate `alert_status`, `first_scheduled_departures`, and `service_end_statuses_per_source`.
- Loading branch information
1 parent
44692dc
commit 5c1af3e
Showing
1 changed file
with
16 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters