small update

This commit is contained in:
2023-05-29 22:10:27 +02:00
parent 0fac36b5b7
commit 70b3319778

View File

@@ -145,7 +145,7 @@ export const enableEncryption = async (passphrase: string) => {
encryptedEncryptionKey.value = candidateEncryptedEncryptionKey
encryptionKey.value = candidateEncryptionKey
setClientKey(passphrase)
syncNotesToFirebase(baseNotes.value)
await syncNotesToFirebase(baseNotes.value)
}
export const clearEncryptionKeys = () => {