fix: [code-2088]: fix pr title update (#2200)

* fix: [code-2088]: fix pr title update
unified-ui
Calvin Lee 2024-07-11 06:42:29 +00:00 committed by Harness
parent 18226c8914
commit dd7ef06c24
1 changed files with 1 additions and 1 deletions

View File

@ -243,7 +243,7 @@ export const PullRequestActionsBox: React.FC<PullRequestActionsBoxProps> = ({
commitTitle: messageTitle,
commitMessage: mergeOption.method === MergeStrategy.SQUASH ? messageString : ''
}
}, [pullReqCommits, mergeOption])
}, [pullReqCommits, mergeOption, pullReqMetadata])
if (pullReqMetadata.state === PullRequestFilterOption.MERGED) {
return <MergeInfo pullRequestMetadata={pullReqMetadata} />