From 827034e0986c0a0709e360e17c5f0aa2e0f09a18 Mon Sep 17 00:00:00 2001 From: Tom Richards Date: Thu, 21 Nov 2024 17:51:29 +0000 Subject: [PATCH] cap the display and mounting of more than 50 pinboards - since Apollo doesn't support more than 100 subscriptions and more than 50 suggests people aren't transitioning workflow items to the right statuses --- client/src/selectPinboard.tsx | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/client/src/selectPinboard.tsx b/client/src/selectPinboard.tsx index 4a0eedd5..46cfc68c 100644 --- a/client/src/selectPinboard.tsx +++ b/client/src/selectPinboard.tsx @@ -50,7 +50,7 @@ const SectionHeading: React.FC = ({ children }) => (
{children}
); -export const MAX_OPEN_PINBOARDS_TO_DISPLAY = 1; +export const MAX_OPEN_PINBOARDS_TO_DISPLAY = 50; interface SelectPinboardProps { pinboardsWithClaimCounts: PinboardDataWithClaimCounts[]; @@ -470,7 +470,8 @@ export const SelectPinboard = ({ {numberOfPinboardsOverDisplayLimit > 0 && (