Skip to content

Commit 81a995c

Browse files
authored
1 parent d977e7e commit 81a995c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/repo/projects/new.tmpl

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

0 commit comments

Comments
 (0)