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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ywana-core8",
3
- "version": "0.0.735",
3
+ "version": "0.0.736",
4
4
  "description": "ywana-core8",
5
5
  "homepage": "https://ywana.github.io/workspace",
6
6
  "author": "Ernesto Roldan Garcia",
@@ -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, // centre: Signflow legacy
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={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'>