fix: wallet save
This commit is contained in:
@ -262,10 +262,12 @@ export class WalletStore extends ExternalStore<WalletStoreSnapshot> {
|
|||||||
if (activeConfig) {
|
if (activeConfig) {
|
||||||
activeConfig.data = JSON.stringify(data);
|
activeConfig.data = JSON.stringify(data);
|
||||||
}
|
}
|
||||||
}
|
this.save();
|
||||||
|
} else {
|
||||||
this.notifyChange();
|
this.notifyChange();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export const Wallets = new WalletStore();
|
export const Wallets = new WalletStore();
|
||||||
window.document.addEventListener("close", () => {
|
window.document.addEventListener("close", () => {
|
||||||
|
Reference in New Issue
Block a user