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
chore(book/table): ignore multi attributes
Elian Doran7c175da9f1ea
diff --git a/apps/client/src/widgets/view_widgets/table_view/data.ts b/apps/client/src/widgets/view_widgets/table_view/data.tsindex be6a968e6c..e2ec94b926 100644--- a/apps/client/src/widgets/view_widgets/table_view/data.ts+++ b/apps/client/src/widgets/view_widgets/table_view/data.ts@@ -32,6 +32,11 @@ export function buildColumnDefinitions(parentNote: FNote) {}const def = promotedAttribute.getDefinition();+ if (def.multiplicity !== "single") {+ console.warn("Multiple values are not supported for now");+ continue;+ }+const attributeName = promotedAttribute.name.split(":", 2)[1];const title = def.promotedAlias ?? attributeName;