Race condition on loading roles in the admin console

Description

There are 3 pages where the pages get blocked by a loading screen. "Users and Teams", "Policy" and "Integrations".

To reproduce it in pre-release (it doesn't happen locally). Go to any of the admin console pages with the problem, and refresh.

Expected Behavior: The page is loaded correctly.
Observed Behavior: The page never show the content, only the loading text.

QA Test Steps

None

Mana

None

Assignee

Jesús Espino

QA Assignee

Linda Mitchell

Reporter

Jesús Espino

Epic Link

None

Fix versions

None

Mattermost Team

Platform

Sprint

None

Labels

None

QA Testing Areas

None

GitHub Issue

None

Components

None

Severity

None
Configure