From 934953e982514f759b1fbbbb5fd041bfe33ecdc6 Mon Sep 17 00:00:00 2001 From: mgtennant <100305096+mgtennant@users.noreply.github.com> Date: Thu, 20 Jun 2024 10:24:37 -0700 Subject: [PATCH] add group max text --- frontend/src/app/content/display/Provisions.tsx | 9 ++++++++- frontend/src/app/content/pages/LandingPage.tsx | 1 - 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/frontend/src/app/content/display/Provisions.tsx b/frontend/src/app/content/display/Provisions.tsx index 90620953..55da6afc 100644 --- a/frontend/src/app/content/display/Provisions.tsx +++ b/frontend/src/app/content/display/Provisions.tsx @@ -60,7 +60,7 @@ const Provisions: FC = ({ dtid, documentType, provisionGroups } return ( <> -
+
@@ -81,6 +81,13 @@ const Provisions: FC = ({ dtid, documentType, provisionGroups } ))} +
+ {selectedProvisionGroupMax + ? selectedProvisionGroupMax > 100 + ? 'There is no max for this group.' + : `Max for this group is ${selectedProvisionGroupMax}` + : ''} +
{ } else { setGenerateError(errorMessage); setShowGenerateError(true); - // alert(errorMessage); } } } catch (err) {