individual panes of attribute list are now opened correctly

This commit is contained in:
zadam
2020-07-25 23:24:48 +02:00
parent 2217c5a3e0
commit b19589033d
7 changed files with 117 additions and 112 deletions

View File

@@ -41,14 +41,14 @@ class Attribute extends Entity {
}
/**
* @returns {Promise<Note|null>}
* @returns {Note|null}
*/
getNote() {
return this.repository.getNote(this.noteId);
}
/**
* @returns {Promise<Note|null>}
* @returns {Note|null}
*/
getTargetNote() {
if (this.type !== 'relation') {