Skip to content
This repository has been archived by the owner on Nov 10, 2023. It is now read-only.

Commit

Permalink
🔥 Fix disappearing safes after migration (#2416)
Browse files Browse the repository at this point in the history
* 🔥 Fix disappearing safes after migration

* Bump version to 3.7.1

* Set the loadedViaUrl in migration
  • Loading branch information
katspaugh authored Jun 8, 2021
1 parent c424c67 commit e43ba86
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "safe-react",
"version": "3.7.0",
"version": "3.7.1",
"description": "Allowing crypto users manage funds in a safer way",
"website": "https://github.com/gnosis/safe-react#readme",
"bugs": {
Expand Down
1 change: 1 addition & 0 deletions src/logic/addressBook/utils/v2-migration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ const migrateSafeNames = ({ states, namespace, namespaceSeparator }: StorageConf
Object.values(parsedStoredSafes).forEach((item) => {
item.owners = item.owners.map((owner: any) => owner.address)
delete item.name
item.loadedViaUrl = false
})
const migratedSafes = parsedStoredSafes as StoredSafes

Expand Down

0 comments on commit e43ba86

Please sign in to comment.