ywana-core8 0.0.735 → 0.0.736
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +7 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +7 -3
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +7 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/domain/CollectionPage.js +4 -3
package/package.json
CHANGED
@@ -223,15 +223,16 @@ const CollectionList = (props) => {
|
|
223
223
|
const items = search()
|
224
224
|
const items2 = items.map(content => ({
|
225
225
|
id: content.id,
|
226
|
-
line1: content.name || content.centre || content.tag, //
|
226
|
+
line1: content.name || content.centre || content.tag, // TODO: centres page Signflow legacy
|
227
227
|
line2: content.description,
|
228
|
-
content
|
228
|
+
grouper: content[groupBy],
|
229
|
+
content,
|
229
230
|
}))
|
230
231
|
|
231
232
|
return (
|
232
233
|
<>
|
233
234
|
<main>
|
234
|
-
<List items={items2} onSelect={select} groupBy={
|
235
|
+
{ groupBy ? <List items={items2} onSelect={select} groupBy="grouper" /> : <List items={items2} onSelect={select} /> }
|
235
236
|
</main>
|
236
237
|
<footer>
|
237
238
|
<div className='search-box'>
|