Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
invite: Fix rendering invite modal for realms without default channels.
The default channels checkbox only exists in DOM if there are default channels in the realm, so we should make sure that we check whether there are default channels in the realm before accessing the checkbox element in set_streams_to_join_visibility.
- Loading branch information