-
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 SourceConfig.map/2 to calculate values in Signs.Realtime
Uses the new `SourceConfig.map/2` and `SourceConfig.simplify/1` functions to calculate `alert_status`, `first_scheduled_departures`, and `service_end_statuses_per_source` Functionality remains the same but the code in `Signs.Realtime` is simpler
- Loading branch information
1 parent
4b38308
commit 200310d
Showing
1 changed file
with
11 additions
and
39 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