Skip to content

Build your personal knowledge base with Trilium Notes

on a second thought, we'll display [encrypted] on recent changes when not in secure session

azivner47d296cf124d
diff --git a/static/js/recent_changes.js b/static/js/recent_changes.js
index 15d61e3ac5..27d87d6251 100644
--- a/static/js/recent_changes.js
+++ b/static/js/recent_changes.js
@@ -13,12 +13,12 @@ $(document).bind('keydown', 'alt+r', function() {
for (const row of result) {
if (row.encryption > 0) {
- if (!isEncryptionAvailable()) {
- // we don't display encrypted note activity if we're not in the secure session
- continue;
+ if (isEncryptionAvailable()) {
+ row.note_title = decryptString(row.note_title);
+ }
+ else {
+ row.note_title = "[encrypted]";
}
-
- row.note_title = decryptString(row.note_title);
}
const dateModified = new Date(row.date_modified * 1000);