0
Fork 0
mirror of https://github.com/logto-io/logto.git synced 2025-01-06 20:40:08 -05:00

fix(console): hide the add connectors hint when no connectors found on sign-in-experience page (#1473)

This commit is contained in:
Xiao Yijun 2022-07-08 13:54:12 +08:00 committed by GitHub
parent 130817f101
commit d3094005f1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -56,7 +56,7 @@ const ConnectorsTransfer = ({ value, onChange }: Props) => {
return (
<>
{value.length === 0 && (
{datasource.length > 0 && value.length === 0 && (
<Alert>{t('sign_in_exp.setup_warning.no_added_social_connector')}</Alert>
)}
<Transfer