Blake Erickson bd49d4af1a FIX: Flair icon being removed when updating other profile info
The commit: 75069ff17917f9b8969ae0e8e0e271cdf1e38c78

allows users to remove their primary group, but this introduced a bug
where if you were to edit any other profile info like location or
website which is a form on a separate page then the flair dropdown,
would cause the selected flair to be removed.

This fix ensures that if the `primary_group_id` parameter is missing
from the update payload it does not remove the existing
`primary_group_id`. It will only remove the `primary_group_id` if it is
present in the payload and empty.
2020-02-07 16:26:33 -07:00
..
2019-12-04 13:33:51 -05:00