Skip to content

Commit ae20244

Browse files
committed
fix wrong package enable check variable
1 parent 000c193 commit ae20244

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/user/overview/header.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
<a href="{{.ContextUser.HomeLink}}/-/projects" class="{{if .PageIsViewProjects}}active {{end}}item">
2626
{{svg "octicon-project"}} {{.locale.Tr "user.projects"}}
2727
</a>
28-
{{if (not .UnitPackagesGlobalDisabled)}}
28+
{{if .IsPackageEnabled}}
2929
<a href="{{.ContextUser.HomeLink}}/-/packages" class="{{if .IsPackagesPage}}active {{end}}item">
3030
{{svg "octicon-package"}} {{.locale.Tr "packages.title"}}
3131
</a>

0 commit comments

Comments
 (0)