JS Errors thrown in the Console when we open the Invite People Dialog on the latest master instance

Description

On the latest master instance, when we open the Invite People dialog, it throws a JS error in the console as shown in the screenshot. This error was not thrown on the latest 5.19 instance.

Note: There are no visible impact because of this JS error, however it might have been affecting in a very specific case (not discovered).

QA Test Steps

See description

Reporter

None

Status

Mana

2

Assignee

Harrison Healey

QA Assignee

None

Reporter

Rohitesh Gupta

Epic Link

None

Fix versions

Mattermost Team

Apps

Labels

None

QA Testing Areas

Other (write in QA test steps)

GitHub Issue

None

Components

None
Configure