mirror of
https://github.com/zadam/trilium.git
synced 2025-11-13 16:55:50 +01:00
use [protected] for protected notes in the export
This commit is contained in:
@@ -131,6 +131,10 @@ class Note extends AbstractEntity {
|
||||
|| protectedSessionService.isProtectedSessionAvailable()
|
||||
}
|
||||
|
||||
getTitleOrProtected() {
|
||||
return this.isContentAvailable() ? this.title : '[protected]';
|
||||
}
|
||||
|
||||
/** @returns {Branch[]} */
|
||||
getParentBranches() {
|
||||
return this.parentBranches;
|
||||
|
||||
Reference in New Issue
Block a user