gramene-search 2.0.1 → 2.0.2
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/.parcel-cache/83e7562660f7cc15-BundleGraph +0 -0
- package/.parcel-cache/d3a1b9507cb44047-AssetGraph +0 -0
- package/.parcel-cache/data.mdb +0 -0
- package/.parcel-cache/dc1da35000e13623-RequestGraph +0 -0
- package/.parcel-cache/lock.mdb +0 -0
- package/.parcel-cache/snapshot-dc1da35000e13623.txt +2 -2
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/bundles/views.js +5 -1
|
Binary file
|
|
Binary file
|
package/.parcel-cache/data.mdb
CHANGED
|
Binary file
|
|
Binary file
|
package/.parcel-cache/lock.mdb
CHANGED
|
Binary file
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
299767252
|
|
2
|
+
1777063118526964000
|
package/dist/index.js
CHANGED
|
@@ -1526,7 +1526,8 @@ const $24971af0a229e0e3$var$grameneViews = {
|
|
|
1526
1526
|
const hasFilters = !!(filters && filters.rightIdx > 1);
|
|
1527
1527
|
const resultDependentIds = new Set([
|
|
1528
1528
|
'taxonomy',
|
|
1529
|
-
'list'
|
|
1529
|
+
'list',
|
|
1530
|
+
'export'
|
|
1530
1531
|
]);
|
|
1531
1532
|
const autoDisable = numFound === 0 || !hasFilters;
|
|
1532
1533
|
const hasFirebase = !!(config && config.firebaseConfig);
|
|
@@ -1551,6 +1552,11 @@ const $24971af0a229e0e3$var$grameneViews = {
|
|
|
1551
1552
|
show: o
|
|
1552
1553
|
};
|
|
1553
1554
|
});
|
|
1555
|
+
const anyOtherOn = options.some((v)=>v.id !== 'help' && v.show === 'on');
|
|
1556
|
+
if (!anyOtherOn) options = options.map((v)=>v.id === 'help' ? {
|
|
1557
|
+
...v,
|
|
1558
|
+
show: 'on'
|
|
1559
|
+
} : v);
|
|
1554
1560
|
return {
|
|
1555
1561
|
...raw,
|
|
1556
1562
|
options: options
|