Skip to content

Commit fe89f58

Browse files
committed
1 parent 4c1e248 commit fe89f58

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/projects/new.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@
5353
<div class="ui selection dropdown">
5454
{{svg "octicon-triangle-down" 14 "dropdown icon"}}
5555
{{range $element := .CardTypes}}
56-
{{if or (eq $.card_type $element.CardType) (and (not $.card_type) (eq $element.CardType 2))}}
56+
{{if or (eq $.card_type $element.CardType) (and (not $.PageIsEditProjects) (eq $element.CardType 1))}}
5757
<input type="hidden" name="card_type" value="{{$element.CardType}}">
5858
<div class="default text">{{$.locale.Tr $element.Translation}}</div>
5959
{{end}}

0 commit comments

Comments
 (0)