Skip to content

Commit

Permalink
Fix the profile transition form
Browse files Browse the repository at this point in the history
  • Loading branch information
vidya-ram committed Nov 6, 2023
1 parent 64cd342 commit f352c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion funnel/forms/profile.py
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,7 @@ class ProfileTransitionForm(forms.Form):

def set_queries(self) -> None:
"""Prepare form for use."""
self.transition.choices = list(self.edit_obj.state.transitions().items())
self.transition.choices = list(self.edit_obj.profile_state.transitions().items())


@Account.forms('logo')
Expand Down

0 comments on commit f352c22

Please sign in to comment.