From 9348812cc5bdb929ed86d7067f50325e53323ba1 Mon Sep 17 00:00:00 2001 From: Tyrel Narciso Date: Mon, 4 Mar 2024 13:04:33 -0800 Subject: [PATCH] DBC22-1804: fixed inland ferries and added env call --- src/backend/config/settings/drivebc.py | 2 +- src/frontend/src/Components/Filters.js | 9 +++++++-- 2 files changed, 8 insertions(+), 3 deletions(-) diff --git a/src/backend/config/settings/drivebc.py b/src/backend/config/settings/drivebc.py index f175f68b5..e32cc24f5 100644 --- a/src/backend/config/settings/drivebc.py +++ b/src/backend/config/settings/drivebc.py @@ -18,5 +18,5 @@ DRIVEBC_WEATHER_API_BASE_URL = env("DRIVEBC_WEATHER_API_BASE_URL") DRIVEBC_WEATHER_AREAS_API_BASE_URL = env("DRIVEBC_WEATHER_AREAS_API_BASE_URL") DRIVEBC_WEATHER_API_TOKEN_URL = env("DRIVEBC_WEATHER_API_TOKEN_URL") -DRIVEBC_WEATHER_CURRENT_API_BASE_URL = ("DRIVEBC_WEATHER_CURRENT_API_BASE_URL") +DRIVEBC_WEATHER_CURRENT_API_BASE_URL = env("DRIVEBC_WEATHER_CURRENT_API_BASE_URL") DRIVEBC_WEATHER_CURRENT_STATIONS_API_BASE_URL = env("DRIVEBC_WEATHER_CURRENT_STATIONS_API_BASE_URL") diff --git a/src/frontend/src/Components/Filters.js b/src/frontend/src/Components/Filters.js index 57560d8f6..a31564ccb 100644 --- a/src/frontend/src/Components/Filters.js +++ b/src/frontend/src/Components/Filters.js @@ -77,6 +77,11 @@ export default function Filters(props) {

Travel requires the use of an inland ferry.

); + const tooltipWeather = ( + +

Weather updates for roads.

+
+ ); // const tooltipReststops = ( // @@ -308,13 +313,13 @@ export default function Filters(props) { defaultChecked={mapContext.visible_layers.weather} disabled={disableFeatures} /> -