Remove authorization tab when disabled (#2181)

This commit is contained in:
Erik Jan de Wit 2022-03-07 14:49:58 +01:00 committed by GitHub
parent b7ea8629a2
commit 5dc2450b01
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -481,7 +481,7 @@ export default function ClientDetails() {
</RoutableTabs>
</Tab>
)}
{client!.serviceAccountsEnabled && (
{client!.authorizationServicesEnabled && (
<Tab
id="authorization"
data-testid="authorizationTab"