mirror of
https://github.com/kremalicious/metamask-extension.git
synced 2024-11-24 19:10:22 +01:00
Always show connected accounts permissions if they exist (#20600)
* Show connected accounts permissions if they exist * Add optional chaining
This commit is contained in:
parent
f8a7a83e05
commit
96210b9783
@ -65,9 +65,9 @@ export default class ConnectedAccounts extends PureComponent {
|
||||
onClose={() => history.push(mostRecentOverviewPage)}
|
||||
footerClassName="connected-accounts__footer"
|
||||
footer={
|
||||
connectedAccounts.length ? (
|
||||
permissions?.length > 0 && (
|
||||
<ConnectedAccountsPermissions permissions={permissions} />
|
||||
) : null
|
||||
)
|
||||
}
|
||||
>
|
||||
<ConnectedAccountsList
|
||||
|
Loading…
Reference in New Issue
Block a user