0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-03-10 22:22:45 -05:00

fix(console): connector name in user detials (#1147)

This commit is contained in:
Xiao Yijun 2022-06-17 23:57:09 +08:00 committed by GitHub
parent 3ac01d72f9
commit 94084a49e7
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -54,7 +54,7 @@ const UserConnectors = ({ userId, connectors, onDelete }: Props) => {
}
return Object.keys(connectors).map((key) => {
const connector = connectorGroups.find(({ target }) => target === key);
const connector = connectorGroups.find(({ id }) => id === key);
if (!connector) {
return {