From cc1d11af2df20a3852de101ede8dad67eab1a439 Mon Sep 17 00:00:00 2001 From: Sean Sundberg Date: Fri, 6 Oct 2023 13:47:11 -0500 Subject: [PATCH] Fix handling of completed status (#127) fixes #124 Signed-off-by: Sean Sundberg --- .gitignore | 1 + src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 1c4406c..d346295 100644 --- a/.gitignore +++ b/.gitignore @@ -22,3 +22,4 @@ dist-ssr *.njsproj *.sln *.sw? +.env diff --git a/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx b/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx index 6f99ee8..a9f2229 100644 --- a/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx +++ b/src/views/KYC/KYCCaseDetail/KYCCaseDetail.tsx @@ -70,7 +70,7 @@ export const KYCCaseDetail: React.FunctionComponent = (props return () } - if (selectedCase.status === 'Closed') { + if (selectedCase.status === 'Closed' || selectedCase.status === 'Completed') { return () }