Skip to content

Commit

Permalink
Fix bug on template (#29887)
Browse files Browse the repository at this point in the history
Caused by #29807
Fix #29886
  • Loading branch information
lunny committed Mar 18, 2024
1 parent 00ea9af commit 440be51
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/shared/issueicon.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@
{{if .IsClosed}}
{{svg "octicon-git-pull-request" 16 "text red"}}
{{else}}
{{if and .PullRequest .PullRequest.IsWorkInProgress ctx}}
{{if and .PullRequest (.PullRequest.IsWorkInProgress ctx)}}
{{svg "octicon-git-pull-request-draft" 16 "text grey"}}
{{else if and .GetPullRequest .GetPullRequest.IsWorkInProgress ctx}}
{{else if and .GetPullRequest (.GetPullRequest.IsWorkInProgress ctx)}}
{{svg "octicon-git-pull-request-draft" 16 "text grey"}}
{{else}}
{{svg "octicon-git-pull-request" 16 "text green"}}
Expand Down

0 comments on commit 440be51

Please sign in to comment.