File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -433,16 +433,14 @@ func ProjectNew(c *RequestContext) ResponseData {
433433 project .Owners = append (project .Owners , templates .UserToTemplate (c .CurrentUser ))
434434 project .Personal = true
435435
436- if c .Req .URL .Query ().Has ("jam" ) {
437- currentJam := hmndata .UpcomingJam (hmndata .JamProjectCreateGracePeriod )
438- if currentJam != nil {
439- project .JamParticipation = []templates.ProjectJamParticipation {
440- {
441- JamName : currentJam .Name ,
442- JamSlug : currentJam .Slug ,
443- Participating : true ,
444- },
445- }
436+ currentJam := hmndata .UpcomingJam (hmndata .JamProjectCreateGracePeriod )
437+ if currentJam != nil {
438+ project .JamParticipation = []templates.ProjectJamParticipation {
439+ {
440+ JamName : currentJam .Name ,
441+ JamSlug : currentJam .Slug ,
442+ Participating : c .Req .URL .Query ().Has ("jam" ),
443+ },
446444 }
447445 }
448446
You can’t perform that action at this time.
0 commit comments