mirror of
https://github.com/zadam/trilium.git
synced 2025-11-01 02:45:54 +01:00
invalidate flat text cache after login to protected session, fixes #2712
This commit is contained in:
@@ -1127,6 +1127,7 @@ class Note extends AbstractEntity {
|
||||
if (this.isProtected && !this.isDecrypted && protectedSessionService.isProtectedSessionAvailable()) {
|
||||
try {
|
||||
this.title = protectedSessionService.decryptString(this.title);
|
||||
this.flatTextCache = null;
|
||||
|
||||
this.isDecrypted = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user