@bento-core/facet-filter 1.0.0 → 1.0.1-ccdihub.1
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.
|
@@ -140,7 +140,8 @@ const FacetFilterController = props => {
|
|
|
140
140
|
* Generate facet sections state
|
|
141
141
|
*
|
|
142
142
|
*/
|
|
143
|
-
const displayFacets = facetsConfig.filter(facet => facet.show).slice(0, 16);
|
|
143
|
+
// const displayFacets = facetsConfig.filter((facet) => facet.show).slice(0, 16);
|
|
144
|
+
const displayFacets = facetsConfig.filter(facet => facet.show);
|
|
144
145
|
const facetStates = addFacetValues(displayFacets);
|
|
145
146
|
const updateState = updateFacetState(facetStates);
|
|
146
147
|
const facetSections = arrangeBySections(updateState);
|
package/package.json
CHANGED
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bento-core/facet-filter",
|
|
3
|
-
"version": "1.0.
|
|
4
|
-
"description": "",
|
|
3
|
+
"version": "1.0.1-ccdihub.1",
|
|
4
|
+
"description": "### Bento core sidebar design:",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"build": "npm run lint && cross-env-shell rm -rf dist && NODE_ENV=production BABEL_ENV=es babel src --out-dir dist --copy-files",
|
|
8
8
|
"test": "echo \"Error: no test specified\" && exit 1",
|
|
9
9
|
"lint": "eslint src"
|
|
10
10
|
},
|
|
11
|
-
"repository":
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/CBIIT/bento-frontend.git"
|
|
14
|
+
},
|
|
12
15
|
"publishConfig": {
|
|
13
16
|
"access": "public"
|
|
14
17
|
},
|
|
@@ -25,5 +28,8 @@
|
|
|
25
28
|
},
|
|
26
29
|
"author": "CTOS Bento Team",
|
|
27
30
|
"license": "ISC",
|
|
28
|
-
"
|
|
31
|
+
"bugs": {
|
|
32
|
+
"url": "https://github.com/CBIIT/bento-frontend/issues"
|
|
33
|
+
},
|
|
34
|
+
"homepage": "https://github.com/CBIIT/bento-frontend#readme"
|
|
29
35
|
}
|
|
@@ -125,7 +125,8 @@ const FacetFilterController = (props) => {
|
|
|
125
125
|
* Generate facet sections state
|
|
126
126
|
*
|
|
127
127
|
*/
|
|
128
|
-
const displayFacets = facetsConfig.filter((facet) => facet.show).slice(0, 16);
|
|
128
|
+
// const displayFacets = facetsConfig.filter((facet) => facet.show).slice(0, 16);
|
|
129
|
+
const displayFacets = facetsConfig.filter((facet) => facet.show);
|
|
129
130
|
const facetStates = addFacetValues(displayFacets);
|
|
130
131
|
const updateState = updateFacetState(facetStates);
|
|
131
132
|
const facetSections = arrangeBySections(updateState);
|