Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unaffilated list for club ambassadors not assigned to a club #5372

Open
wants to merge 1 commit into
base: qa
Choose a base branch
from

Conversation

shaun-technovation
Copy link
Contributor

Simple fix for club ambassadors who aren't assigned to a club accessing the unaffiliated list.

Seems like an edge case since all club ambassadors should be assigned to a club; and if they're not maybe they shouldn't have access to certain things. Anywho, since it's possible now, this a simple fix for the time being.

It's possible for a club ambassador to not be assigned to a club. If this happens they are still able to access the Club Admin Activity. The unaffiliated datagrid will error out if they're not assigned to a club (or chapter).

```
NoMethodError: undefined method `country_code' for #<NullChapterable:0x00007fd115046990>
```

This update will address this issue.

Refs: #5371
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant