Settings: put account move above account deletion

ads-account
Alex Gleason 2022-11-25 14:42:11 -06:00
rodzic 3b9535c418
commit 631f3c37e3
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 7211D1F99744FBB7
1 zmienionych plików z 4 dodań i 3 usunięć

Wyświetl plik

@ -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>
</> </>