gramene-search 1.7.3 → 1.7.4

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": "gramene-search",
3
- "version": "1.7.3",
3
+ "version": "1.7.4",
4
4
  "description": "search wrapper for gramene",
5
5
  "source": "src/index.js",
6
6
  "main": "dist/index.js",
@@ -266,7 +266,9 @@ const grameneFilters = {
266
266
  case 'GRAMENE_SEARCH_FETCH_FINISHED':
267
267
  return Object.assign({}, state, {status: 'finished'});
268
268
  case 'GRAMENE_GENOMES_UPDATED':
269
- return Object.assign({}, state, {status: 'search'});
269
+ if (!(state.status === 'ready')) {
270
+ return Object.assign({}, state, {status: 'search'});
271
+ }
270
272
  case 'URL_UPDATED':
271
273
  if (state.status === 'ready') {
272
274
  return Object.assign({}, initialState, {children:[]})