Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Because there is a return statement which gets executed if the user isn't part of any teams, this optimization won't kick in if that's the case. To let the optimization happen in all cases, we move the line earlier. https://mattermost.atlassian.net/browse/MM-60439
- Loading branch information