Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
fix(attributes): show 'Create note' in promoted relation autocomplete (closes #8187)
Elian Doran1660bef1f369
diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsxindex f86cbeb5cd..248e546881 100644--- a/apps/client/src/widgets/PromotedAttributes.tsx+++ b/apps/client/src/widgets/PromotedAttributes.tsx@@ -320,6 +320,7 @@ function RelationInput({ inputId, ...props }: CellProps & { inputId: string }) {<NoteAutocompleteid={inputId}noteId={props.cell.valueAttr.value}+ opts={{ allowCreatingNotes: true }}noteIdChanged={async (value) => {const { note, cell, componentId, setCells } = props;await updateAttribute(note, cell, componentId, value, setCells);