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/dist/index.modern.js
CHANGED
@@ -6150,15 +6150,19 @@ var CollectionList$1 = function CollectionList(props) {
|
|
6150
6150
|
return {
|
6151
6151
|
id: content.id,
|
6152
6152
|
line1: content.name || content.centre || content.tag,
|
6153
|
-
//
|
6153
|
+
// TODO: centres page Signflow legacy
|
6154
6154
|
line2: content.description,
|
6155
|
+
grouper: content[groupBy],
|
6155
6156
|
content: content
|
6156
6157
|
};
|
6157
6158
|
});
|
6158
|
-
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("main", null, /*#__PURE__*/React.createElement(List, {
|
6159
|
+
return /*#__PURE__*/React.createElement(Fragment, null, /*#__PURE__*/React.createElement("main", null, groupBy ? /*#__PURE__*/React.createElement(List, {
|
6159
6160
|
items: items2,
|
6160
6161
|
onSelect: select,
|
6161
|
-
groupBy:
|
6162
|
+
groupBy: "grouper"
|
6163
|
+
}) : /*#__PURE__*/React.createElement(List, {
|
6164
|
+
items: items2,
|
6165
|
+
onSelect: select
|
6162
6166
|
})), /*#__PURE__*/React.createElement("footer", null, /*#__PURE__*/React.createElement("div", {
|
6163
6167
|
className: "search-box"
|
6164
6168
|
}, /*#__PURE__*/React.createElement(TextField, {
|