Skip to content

Commit

Permalink
update changehistoryv2 language and logic
Browse files Browse the repository at this point in the history
  • Loading branch information
pearl-truss committed Apr 18, 2024
1 parent 2252971 commit e3ae827
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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: (
<div>
Expand Down

0 comments on commit e3ae827

Please sign in to comment.