mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 11:26:15 +01:00
small fixes related to inherited attributes
This commit is contained in:
@@ -295,12 +295,15 @@ export default class AttributeDetailWidget extends BasicWidget {
|
||||
}
|
||||
}
|
||||
|
||||
this.$saveAndCloseButton.toggle(!!isOwned);
|
||||
|
||||
if (isOwned) {
|
||||
this.$attrIsOwnedBy.hide();
|
||||
}
|
||||
else {
|
||||
this.$attrIsOwnedBy
|
||||
.show()
|
||||
.empty()
|
||||
.append(attribute.type === 'label' ? 'Label' : 'Relation')
|
||||
.append(' is owned by note ')
|
||||
.append(await linkService.createNoteLink(attribute.noteId))
|
||||
|
||||
Reference in New Issue
Block a user