Skip to content

Commit

Permalink
Ensure we dont error out when a team already exists
Browse files Browse the repository at this point in the history
  • Loading branch information
dcramer committed Aug 31, 2012
1 parent 5aa7f28 commit 26e8cca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/sentry/web/frontend/projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ def new_project(request):
project_form = project_form_cls(request.POST or None, initial=project_initial, prefix='prj')

is_new_team = new_team_form and new_team_form.is_valid()
if is_new_team:
if is_new_team or not select_team_form:
team_form = new_team_form
else:
team_form = select_team_form
Expand Down

0 comments on commit 26e8cca

Please sign in to comment.