Web: No open teams listed on Select Team page

Description

Environment: Firefox/Mac on my local instance running master. Unable to repro this on 5.14 RC4

Repro steps:
1) Create a team
2) Go to Team Settings > General > "Allow any user with an account on the server to join this team" and set it to "Yes"
3) Log in as another account and go to the Select Team page

Observed: No teams are listed as available to join, and there's a JS error in the console

Expected: The team should be listed on the Select Team page

QA Test Steps

See description

Status

Mana

None

Assignee

Joram Wilander

Reporter

Harrison Healey

Epic Link

None

Fix versions

Mattermost Team

Sustained Engineering

Sprint

None

Labels

None

GitHub Issue

None

QA Assignee

Jelena Gilliam

QA Testing Areas

Other (write in QA test steps)