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:
@@ -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,
|
||||
|
||||
Reference in New Issue
Block a user