fix: indicate there are no projects to choose from

This commit is contained in:
0ko 2024-03-08 09:43:27 +05:00
parent 3a375a1de3
commit 9b214b362d

View file

@ -168,6 +168,11 @@
</div>
{{end}}
<div class="no-select item">{{ctx.Locale.Tr "repo.issues.new.clear_projects"}}</div>
{{if and (not .OpenProjects) (not .ClosedProjects)}}
<div class="disabled item">
{{ctx.Locale.Tr "repo.issues.new.no_items"}}
</div>
{{end}}
{{if .OpenProjects}}
<div class="divider"></div>
<div class="header">