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(labels): Code review issue
Mystler2b94d9693084
diff --git a/apps/client/src/widgets/PromotedAttributes.tsx b/apps/client/src/widgets/PromotedAttributes.tsxindex 47b6fa2432..6a1a8640f2 100644--- a/apps/client/src/widgets/PromotedAttributes.tsx+++ b/apps/client/src/widgets/PromotedAttributes.tsx@@ -171,9 +171,9 @@ function PromotedAttributeCell(props: CellProps) {);}-const LABEL_MAPPINGS: Record<LabelType, HTMLInputTypeAttribute> = {+const LABEL_MAPPINGS: Record<LabelType, HTMLInputTypeAttribute | undefined> = {text: "text",- textarea: "text",+ textarea: undefined,number: "number",boolean: "checkbox",date: "date",