Record identity before deleting it

feature/default_network_editable
Dan Finlay 7 years ago
parent ae156e1087
commit 41f292437d
  1. 2
      app/scripts/controllers/preferences.js

@ -119,8 +119,8 @@ class PreferencesController {
let newlyLost = {}
Object.keys(identities).forEach((identity) => {
if (!addresses.includes(identity)) {
delete identities[identity]
newlyLost[identity] = identities[identity]
delete identities[identity]
}
})

Loading…
Cancel
Save