added autocompletes for labels, relations

This commit is contained in:
zadam
2020-05-28 23:59:08 +02:00
parent 5aaa429203
commit 6a957eff17
8 changed files with 201 additions and 68 deletions

View File

@@ -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;