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 && (
|
||||
<ConnectorRow
|
||||
connectors={emailConnector ? [emailConnector] : []}
|
||||
type={ConnectorType.Email}
|
||||
connectors={smsConnector ? [smsConnector] : []}
|
||||
type={ConnectorType.SMS}
|
||||
onClickSetup={() => {
|
||||
setCreateType(ConnectorType.Email);
|
||||
setCreateType(ConnectorType.SMS);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
{!isLoading && !isSocial && (
|
||||
<ConnectorRow
|
||||
connectors={smsConnector ? [smsConnector] : []}
|
||||
type={ConnectorType.SMS}
|
||||
connectors={emailConnector ? [emailConnector] : []}
|
||||
type={ConnectorType.Email}
|
||||
onClickSetup={() => {
|
||||
setCreateType(ConnectorType.SMS);
|
||||
setCreateType(ConnectorType.Email);
|
||||
}}
|
||||
/>
|
||||
)}
|
||||
|
|
Loading…
Reference in a new issue