fix: don't hide projects from sidebar when they're disabled in repo

This commit is contained in:
0ko 2024-03-08 09:33:52 +05:00
parent 6313b89e53
commit 3a375a1de3

View file

@ -151,7 +151,6 @@
</div> </div>
</div> </div>
{{if .IsProjectsEnabled}}
<div class="divider"></div> <div class="divider"></div>
<div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown"> <div class="ui {{if or (not .HasIssuesOrPullsWritePermission) .Repository.IsArchived}}disabled{{end}} floating jump select-project dropdown">
@ -203,7 +202,6 @@
{{end}} {{end}}
</div> </div>
</div> </div>
{{end}}
<div class="divider"></div> <div class="divider"></div>