forked from MapComplete/MapComplete
Favourites: stabilize preferences and adding/removing favourites
This commit is contained in:
parent
f9827dd6ae
commit
3ce21f61cb
8 changed files with 122 additions and 47 deletions
|
@ -14,7 +14,7 @@ export class MangroveIdentity {
|
|||
const keypairEventSource = new UIEventSource<CryptoKeyPair>(undefined)
|
||||
this.keypair = keypairEventSource
|
||||
mangroveIdentity.addCallbackAndRunD(async (data) => {
|
||||
if (data === "") {
|
||||
if (!data) {
|
||||
return
|
||||
}
|
||||
const keypair = await MangroveReviews.jwkToKeypair(JSON.parse(data))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue