Fix PR WIP toggle prefixes

When the variable was renamed, this occurence was missed.

(cherry picked from commit 900bf43a8a)
This commit is contained in:
Otto Richter 2024-04-29 23:35:44 +02:00 committed by GitHub
parent 54f875df46
commit 1241ac9da5

View file

@ -81,7 +81,7 @@
{{ctx.Locale.Tr "repo.pulls.data_broken"}} {{ctx.Locale.Tr "repo.pulls.data_broken"}}
</div> </div>
{{else if .IsPullWorkInProgress}} {{else if .IsPullWorkInProgress}}
<div class="item toggle-wip" data-title="{{.Issue.Title}}" data-wip-prefix="{{.WorkInProgressPrefix}}" data-update-url="{{.Issue.Link}}/title"> <div class="item toggle-wip" data-title="{{.Issue.Title}}" data-wip-prefixes="{{JsonUtils.EncodeToString .PullRequestWorkInProgressPrefixes}}" data-update-url="{{.Issue.Link}}/title">
<div class="item-section-left flex-text-inline tw-flex-1"> <div class="item-section-left flex-text-inline tw-flex-1">
{{svg "octicon-x"}} {{svg "octicon-x"}}
{{ctx.Locale.Tr "repo.pulls.cannot_merge_work_in_progress"}} {{ctx.Locale.Tr "repo.pulls.cannot_merge_work_in_progress"}}