From e3ae8276f8a0367d81e4982c7896e79e81c0a1b4 Mon Sep 17 00:00:00 2001 From: pearl-truss Date: Thu, 18 Apr 2024 13:08:27 -0400 Subject: [PATCH] update changehistoryv2 language and logic --- .../src/components/ChangeHistory/ChangeHistoryV2.tsx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/services/app-web/src/components/ChangeHistory/ChangeHistoryV2.tsx b/services/app-web/src/components/ChangeHistory/ChangeHistoryV2.tsx index 1880015ca5..1e0df8269e 100644 --- a/services/app-web/src/components/ChangeHistory/ChangeHistoryV2.tsx +++ b/services/app-web/src/components/ChangeHistory/ChangeHistoryV2.tsx @@ -62,9 +62,9 @@ export const ChangeHistoryV2 = ({ (r, index) => { const isInitialSubmission = r.updatedReason === 'Initial contract' const isSubsequentSubmission = r.kind === 'submit' - // We want to know if this package has multiple contracts. To have multiple contracts, there must be minimum - // 3 revisions in revisionHistory the initial contract revision, unlock revision and recontract revision. - const hasSubsequentSubmissions = revisionHistory.length >= 3 + // We want to know if this contract has multiple submissions. To have multiple submissions, there must be minimum + // more than the initial contract revision. + const hasSubsequentSubmissions = revisionHistory.length > 1 return { title: (