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

fix(console): add connector button in table empty state (#1224)

This commit is contained in:
Wang Sijie 2022-06-24 11:37:50 +08:00 committed by GitHub
parent 9b6fd4c417
commit 1905fb5718
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -107,7 +107,13 @@ const Connectors = () => {
content={t('connectors.social_connector_eg')}
image={isLightMode ? <SocialConnectorEmpty /> : <SocialConnectorEmptyDark />}
>
<Button title="admin_console.connectors.create" type="outline" />
<Button
title="admin_console.connectors.create"
type="outline"
onClick={() => {
setCreateType(ConnectorType.Social);
}}
/>
</TableEmpty>
)}
{!isLoading && !isSocial && (