mirror of
https://github.com/logto-io/logto.git
synced 2024-12-16 20:26:19 -05:00
refactor(console): swap sms and email connector (#1387)
This commit is contained in:
parent
f3b3397d93
commit
10461c48b4
1 changed files with 6 additions and 6 deletions
|
@ -118,19 +118,19 @@ const Connectors = () => {
|
||||||
)}
|
)}
|
||||||
{!isLoading && !isSocial && (
|
{!isLoading && !isSocial && (
|
||||||
<ConnectorRow
|
<ConnectorRow
|
||||||
connectors={emailConnector ? [emailConnector] : []}
|
connectors={smsConnector ? [smsConnector] : []}
|
||||||
type={ConnectorType.Email}
|
type={ConnectorType.SMS}
|
||||||
onClickSetup={() => {
|
onClickSetup={() => {
|
||||||
setCreateType(ConnectorType.Email);
|
setCreateType(ConnectorType.SMS);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
{!isLoading && !isSocial && (
|
{!isLoading && !isSocial && (
|
||||||
<ConnectorRow
|
<ConnectorRow
|
||||||
connectors={smsConnector ? [smsConnector] : []}
|
connectors={emailConnector ? [emailConnector] : []}
|
||||||
type={ConnectorType.SMS}
|
type={ConnectorType.Email}
|
||||||
onClickSetup={() => {
|
onClickSetup={() => {
|
||||||
setCreateType(ConnectorType.SMS);
|
setCreateType(ConnectorType.Email);
|
||||||
}}
|
}}
|
||||||
/>
|
/>
|
||||||
)}
|
)}
|
||||||
|
|
Loading…
Reference in a new issue