File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -390,6 +390,8 @@ func PrepareMergedViewPullInfo(ctx *context.Context, issue *models.Issue) *git.C
390
390
391
391
// PrepareViewPullInfo show meta information for a pull request preview page
392
392
func PrepareViewPullInfo (ctx * context.Context , issue * models.Issue ) * git.CompareInfo {
393
+ ctx .Data ["PullRequestWorkInProgressPrefixes" ] = setting .Repository .PullRequest .WorkInProgressPrefixes
394
+
393
395
repo := ctx .Repo .Repository
394
396
pull := issue .PullRequest
395
397
@@ -579,8 +581,6 @@ func PrepareViewPullInfo(ctx *context.Context, issue *models.Issue) *git.Compare
579
581
ctx .Data ["IsNothingToCompare" ] = true
580
582
}
581
583
582
- ctx .Data ["PullRequestWorkInProgressPrefixes" ] = setting .Repository .PullRequest .WorkInProgressPrefixes
583
-
584
584
if pull .IsWorkInProgress () {
585
585
ctx .Data ["IsPullWorkInProgress" ] = true
586
586
ctx .Data ["WorkInProgressPrefix" ] = pull .GetWorkInProgressPrefix ()
You can’t perform that action at this time.
0 commit comments