Skip to content

Commit

Permalink
remove unnecessary PageIsOrgCode
Browse files Browse the repository at this point in the history
  • Loading branch information
yp05327 committed Feb 9, 2023
1 parent 62b5603 commit 9e3ed4c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/org/menu.tmpl
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
</a>
{{end}}
{{if .IsRepoIndexerEnabled}}
<a class="{{if $.PageIsOrgCode}}active {{end}}item" href="{{$.Org.HomeLink}}/-/code">
<a class="item" href="{{$.Org.HomeLink}}/-/code">
{{svg "octicon-code"}}&nbsp;{{$.locale.Tr "org.code"}}
</a>
{{end}}
Expand Down

0 comments on commit 9e3ed4c

Please sign in to comment.