gramene-search 1.6.38 → 1.6.40

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.
Binary file
Binary file
@@ -1,2 +1,2 @@
1
- 487667268
2
- 1759938527208128000
1
+ 489821058
2
+ 1759959391042991000
package/dist/index.js CHANGED
@@ -1240,6 +1240,18 @@ $af4441dd29af05df$var$grameneFilters.reactGrameneFilters = (0, $gXNCa$reduxbundl
1240
1240
  actions: actions
1241
1241
  };
1242
1242
  }
1243
+ if (queryObject.hasOwnProperty('sugg')) return {
1244
+ type: 'BATCH_ACTIONS',
1245
+ actions: [
1246
+ {
1247
+ type: 'GRAMENE_SEARCH_CLEARED'
1248
+ },
1249
+ {
1250
+ type: 'GRAMENE_FILTER_ADDED',
1251
+ payload: JSON.parse(queryObject.sugg)
1252
+ }
1253
+ ]
1254
+ };
1243
1255
  if (queryObject.hasOwnProperty('suggestion')) {
1244
1256
  const url = new URL(myUrl.href);
1245
1257
  url.search = '';