mirror of
https://github.com/harness/drone.git
synced 2025-05-04 16:52:22 +08:00
fix: [code-2088]: fix pr title update (#2200)
* fix: [code-2088]: fix pr title update
This commit is contained in:
parent
18226c8914
commit
dd7ef06c24
@ -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} />
|
||||
|
Loading…
Reference in New Issue
Block a user