1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Open retore-vault route from popup (#6353)

This commit is contained in:
Chi Kei Chan 2019-03-26 23:35:29 -07:00 committed by GitHub
parent 91c4c3bdce
commit 8108eac705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -39,7 +39,7 @@ const mergeProps = (stateProps, dispatchProps, ownProps) => {
history.push(RESTORE_VAULT_ROUTE)
if (getEnvironmentType(window.location.href) === ENVIRONMENT_TYPE_POPUP) {
global.platform.openExtensionInBrowser()
global.platform.openExtensionInBrowser(RESTORE_VAULT_ROUTE)
}
}