fix displaying protected notes outside of protected session

This commit is contained in:
zadam 2020-12-21 23:10:08 +01:00
parent cc3addebd4
commit 8c0662ab82

View File

@ -53,7 +53,7 @@ function getNotesAndBranchesAndAttributes(noteIds) {
notes.push({
noteId: note.noteId,
title: note.title,
title: note.isDecrypted ? note.title : '[protected]',
isProtected: note.isProtected,
type: note.type,
mime: note.mime