fix(ui): don't display roles when roles are not available

pull/5919/head
Pavel Zavora 2022-05-16 15:26:07 +02:00
parent 2659ad779b
commit 678238be4d
1 changed files with 1 additions and 1 deletions

View File

@ -97,7 +97,7 @@ class RolesPage extends Component<Props> {
public render() {
const source = this.props.source
if (hasRoleManagement(source)) {
if (!hasRoleManagement(source)) {
return (
<AdminInfluxDBScopedPage
activeTab="roles"