Skip to content

Commit

Permalink
Merge pull request #1632 from cultuurnet/bugfix/PPF-640
Browse files Browse the repository at this point in the history
  • Loading branch information
Anahkiasen authored Jan 20, 2025
2 parents 342e914 + bb12e73 commit eb3c1bc
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion resources/ts/Components/Integrations/Detail/Credentials.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,10 @@ export const Credentials = ({
oldCredentialsExpirationDate,
}: Props) => {
const { t } = useTranslation();
const hasCredentials = legacyAuthConsumers.length > 0;
const hasCredentials =
keyVisibility !== KeyVisibility.v2
? legacyAuthConsumers.length > 0
: authClients.length > 0;

const isV1Upgraded =
keyVisibility === KeyVisibility.v1 && !!keyVisibilityUpgrade;
Expand Down

0 comments on commit eb3c1bc

Please sign in to comment.