mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 11:56:01 +01:00
added shareAlias label
This commit is contained in:
@@ -549,6 +549,12 @@ class Note extends AbstractEntity {
|
||||
|
||||
return notePaths.some(path => path.includes(ancestorNoteId));
|
||||
}
|
||||
|
||||
get shareId() {
|
||||
const sharedAlias = this.getOwnedLabelValue("shareAlias");
|
||||
|
||||
return sharedAlias || this.noteId;
|
||||
}
|
||||
}
|
||||
|
||||
module.exports = Note;
|
||||
|
||||
Reference in New Issue
Block a user