mirror of
https://github.com/zadam/trilium.git
synced 2025-11-07 13:56:11 +01:00
add #shareRoot label to define an "index" note, closes #2567
This commit is contained in:
@@ -406,6 +406,10 @@ class Note extends AbstractEntity {
|
||||
}
|
||||
|
||||
get shareId() {
|
||||
if (this.hasOwnedLabel('shareRoot')) {
|
||||
return "";
|
||||
}
|
||||
|
||||
const sharedAlias = this.getOwnedLabelValue("shareAlias");
|
||||
|
||||
return sharedAlias || this.noteId;
|
||||
|
||||
Reference in New Issue
Block a user