diff --git a/src/app/SecurityPanel/Credentials/StoredCredentials.tsx b/src/app/SecurityPanel/Credentials/StoredCredentials.tsx index d4b30febd..c4cf0faf0 100644 --- a/src/app/SecurityPanel/Credentials/StoredCredentials.tsx +++ b/src/app/SecurityPanel/Credentials/StoredCredentials.tsx @@ -249,6 +249,7 @@ export const StoredCredentials = () => { map((cred) => ({ id: message.id, matchExpression: cred.matchExpression, + targets: cred.targets, numMatchingTargets: cred.targets.length, })), ); @@ -425,7 +426,7 @@ export const StoredCredentials = () => { - {credential.targets.length} + {credential?.targets?.length ?? 0}