hotfix: 3.4.4, fix not being able to import backup

This commit is contained in:
Baptiste Grob
2020-09-10 20:35:38 +02:00
parent cb2115c0d6
commit f440eaa692
5 changed files with 5 additions and 5 deletions

View File

@@ -347,7 +347,7 @@ class AccountMenuCtrl extends PureCtrl {
return;
}
const version = data.version || data.auth_params?.version || data?.keyParams?.version;
if (!protocolManager.supportedVersions().includes(version)) {
if (version && !protocolManager.supportedVersions().includes(version)) {
this.setState({ importData: null });
this.alertManager.alert({ text: STRING_IMPORT_FAILED_NEWER_BACKUP });
return;