Settings: put account move above account deletion
This commit is contained in:
parent
3b9535c418
commit
631f3c37e3
1 changed files with 4 additions and 3 deletions
|
@ -116,14 +116,15 @@ const Settings = () => {
|
||||||
|
|
||||||
<CardBody>
|
<CardBody>
|
||||||
<List>
|
<List>
|
||||||
{features.security && (
|
|
||||||
<ListItem label={intl.formatMessage(messages.deleteAccount)} onClick={navigateToDeleteAccount} />
|
|
||||||
)}
|
|
||||||
{features.federating && (features.accountMoving ? (
|
{features.federating && (features.accountMoving ? (
|
||||||
<ListItem label={intl.formatMessage(messages.accountMigration)} onClick={navigateToMoveAccount} />
|
<ListItem label={intl.formatMessage(messages.accountMigration)} onClick={navigateToMoveAccount} />
|
||||||
) : features.accountAliases && (
|
) : features.accountAliases && (
|
||||||
<ListItem label={intl.formatMessage(messages.accountAliases)} onClick={navigateToAliases} />
|
<ListItem label={intl.formatMessage(messages.accountAliases)} onClick={navigateToAliases} />
|
||||||
))}
|
))}
|
||||||
|
|
||||||
|
{features.security && (
|
||||||
|
<ListItem label={intl.formatMessage(messages.deleteAccount)} onClick={navigateToDeleteAccount} />
|
||||||
|
)}
|
||||||
</List>
|
</List>
|
||||||
</CardBody>
|
</CardBody>
|
||||||
</>
|
</>
|
||||||
|
|
Loading…
Reference in a new issue