diff options
| author | bobzel <zzzman@gmail.com> | 2021-02-17 12:44:26 -0500 |
|---|---|---|
| committer | bobzel <zzzman@gmail.com> | 2021-02-17 12:44:26 -0500 |
| commit | 0824590ee966ca004aca2e7bb312dd95a09ca87b (patch) | |
| tree | ea55fda8966f9f4937d4e2d7b59a15da8f33afcf /src/client/views/collections/collectionFreeForm | |
| parent | 90fd1a4c16f5e3875b1ac8f7c78a363b39215a92 (diff) | |
changed pivotview tags a bit to keep list small
Diffstat (limited to 'src/client/views/collections/collectionFreeForm')
| -rw-r--r-- | src/client/views/collections/collectionFreeForm/CollectionFreeFormLayoutEngines.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLayoutEngines.tsx b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLayoutEngines.tsx index 272773d87..afc1babeb 100644 --- a/src/client/views/collections/collectionFreeForm/CollectionFreeFormLayoutEngines.tsx +++ b/src/client/views/collections/collectionFreeForm/CollectionFreeFormLayoutEngines.tsx @@ -145,7 +145,7 @@ export function computePivotLayout( let nonNumbers = 0; const pivotFieldKey = toLabel(engineProps?.pivotField ?? pivotDoc._pivotField); childPairs.map(pair => { - const lval = pivotFieldKey === "#" ? Array.from(Object.keys(Doc.GetProto(pair.layout))).filter(k => k.startsWith("#")).map(k => k.substring(1)) : + const lval = pivotFieldKey === "#" || pivotFieldKey === "tags" ? Array.from(Object.keys(Doc.GetProto(pair.layout))).filter(k => k.startsWith("#")).map(k => k.substring(1)) : Cast(pair.layout[pivotFieldKey], listSpec("string"), null); const num = toNumber(pair.layout[pivotFieldKey]); |
