Merge pull request #425 from standardnotes/004-fix-importing
fix: when importing should prompt for password if keyParams is present
This commit is contained in:
@@ -382,7 +382,7 @@ class AccountMenuCtrl extends PureViewCtrl {
|
|||||||
if (!data) {
|
if (!data) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
if (data.auth_params) {
|
if (data.auth_params || data.keyParams) {
|
||||||
await this.setState({
|
await this.setState({
|
||||||
importData: {
|
importData: {
|
||||||
...this.getState().importData,
|
...this.getState().importData,
|
||||||
|
|||||||
Reference in New Issue
Block a user