mirror of
https://github.com/zadam/trilium.git
synced 2025-11-17 02:30:42 +01:00
chore(book/table): ignore multi attributes
This commit is contained in:
@@ -32,6 +32,11 @@ export function buildColumnDefinitions(parentNote: FNote) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
const def = promotedAttribute.getDefinition();
|
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 attributeName = promotedAttribute.name.split(":", 2)[1];
|
||||||
const title = def.promotedAlias ?? attributeName;
|
const title = def.promotedAlias ?? attributeName;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user