fix(journals): resolve decryption UI update and background sync issues

- Cleared 'content_encrypted' from local state upon successful decryption to update UI.
- Modified background sync effect to preserve decrypted content during active sessions.
- Enhanced decryption logging for better diagnostics.
This commit is contained in:
Scott Idem
2026-01-14 16:04:15 -05:00
parent 05bf348e0f
commit 693a2e42c4
2 changed files with 22 additions and 2 deletions

View File

@@ -81,7 +81,7 @@ export async function decrypt_journal_entry(
}
}
console.log('decrypt_journal_entry: SUCCESS');
console.log(`decrypt_journal_entry: SUCCESS. Content length: ${decrypted_text.length}. Preview: ${decrypted_text.substring(0, 20)}...`);
return {
success: true,
content: decrypted_text,