Allow for station data overrides #125
This commit is contained in:
parent
2db7f30de7
commit
7d50ce28bd
6 changed files with 16169 additions and 16139 deletions
|
|
@ -133,7 +133,10 @@ const baseScreens = [
|
|||
// hazards
|
||||
hazards,
|
||||
// station name
|
||||
(data) => `Conditions at ${locationCleanup(data.station.properties.name).substr(0, 20)}`,
|
||||
(data) => {
|
||||
const location = (StationInfo[data.station.properties.stationIdentifier]?.city ?? locationCleanup(data.station.properties.name)).substr(0, 20);
|
||||
return `Conditions at ${location}`;
|
||||
},
|
||||
|
||||
// temperature
|
||||
(data) => {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue