From 278dfa713d11abe234ad7c2e16948fe08cb0321e Mon Sep 17 00:00:00 2001 From: csawatzky Date: Wed, 26 Mar 2025 15:56:35 -0600 Subject: [PATCH] modified the bin page to use the bin key first if one was passed in then default to the params id --- src/pages/Bin.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pages/Bin.tsx b/src/pages/Bin.tsx index 5f5dbd5..e097e10 100644 --- a/src/pages/Bin.tsx +++ b/src/pages/Bin.tsx @@ -269,7 +269,7 @@ export default function Bin(props: Props) { loadRef.current = true; //add the presets to the bin page data load binAPI - .getBinPageData(binID, user.id(), showErrors) + .getBinPageData(binKey ?? binID, user.id(), showErrors) .then(resp => { if (resp.data.grainCompositionNames) { let tempMap: Map = new Map();