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:
parent
9b6fd4c417
commit
1905fb5718
1 changed files with 7 additions and 1 deletions
|
@ -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 && (
|
||||
|
|
Loading…
Reference in a new issue