mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 20:06:08 +01:00
added autocompletes for labels, relations
This commit is contained in:
@@ -36,9 +36,13 @@ class Attribute {
|
||||
}
|
||||
}
|
||||
|
||||
get isAutoLink() {
|
||||
return this.type === 'relation' && ['internalLink', 'imageLink', 'relationMapLink', 'includeNoteLink'].includes(this.name);
|
||||
}
|
||||
|
||||
get toString() {
|
||||
return `Attribute(attributeId=${this.attributeId}, type=${this.type}, name=${this.name}, value=${this.value})`;
|
||||
}
|
||||
}
|
||||
|
||||
export default Attribute;
|
||||
export default Attribute;
|
||||
|
||||
Reference in New Issue
Block a user