From bec12881a96de9aa709e69ac96fd1f1eeb6292e7 Mon Sep 17 00:00:00 2001 From: Lee Zeman Date: Fri, 12 May 2023 18:14:50 -0700 Subject: [PATCH] Update extreme streamflow portal to merged Fraser and Peace watersheds --- src/components/DataTool.js | 4 ++-- src/data-services/ce-backend.js | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/src/components/DataTool.js b/src/components/DataTool.js index 320a3d0e..75584d18 100644 --- a/src/components/DataTool.js +++ b/src/components/DataTool.js @@ -51,8 +51,8 @@ const navSpec = { { label: 'Extreme Streamflow', info: 'View streamflow design values for the Fraser and Peace River basins based on the CanESM2 large ensemble.', - subpath: 'flood/:ensemble_name(fraser)', - navSubpath: 'flood/fraser', + subpath: 'flood/:ensemble_name(frapce)', + navSubpath: 'flood/frapce', render: (props) => , }, ], diff --git a/src/data-services/ce-backend.js b/src/data-services/ce-backend.js index 88e71fb4..406fcf94 100644 --- a/src/data-services/ce-backend.js +++ b/src/data-services/ce-backend.js @@ -207,6 +207,7 @@ function getWatershedGeographyName(ensemble){ "bc_moti": "peace_watershed", "upper_fraser": "upper_fraser_watershed", "fraser": "fraser_watershed", + "frapce": "frapce_watershed", }[ensemble]; }