Skip to content

Commit d7c7a78

Browse files
authored
Don't show hidden labels when filling out an issue template (#31576)
Related to #31574 --- *Sponsored by Kithara Software GmbH*
1 parent 017ea19 commit d7c7a78

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/issue/fields/header.tmpl

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{if .item.Attributes.label}}
1+
{{if and (.item.Attributes.label) (not .item.Attributes.hide_label)}}
22
<h3>{{.item.Attributes.label}}{{if .item.Validations.required}}<label class="required"></label>{{end}}</h3>
33
{{end}}
44
{{if .item.Attributes.description}}

0 commit comments

Comments
 (0)