abmp-npm 1.1.47 → 1.1.48

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/pages/Home.js +8 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "abmp-npm",
3
- "version": "1.1.47",
3
+ "version": "1.1.48",
4
4
  "main": "index.js",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1",
package/pages/Home.js CHANGED
@@ -355,6 +355,14 @@ const homePageOnReady = async ({
355
355
  logMessage(`[updateResults][${renderingEnv}] clearing timeout type ${timeoutType}`);
356
356
  clearTimeout(debounceTimeout[timeoutType]);
357
357
  }
358
+ if (renderingEnv === 'backend') {
359
+ //TODO: remove this workaround to fix issue with SSR showing invalid results
360
+ logMessage(
361
+ `[updateResults][${renderingEnv}] backend environment, changing state to loadingState`
362
+ );
363
+ multiStateBoxSelector.changeState('loadingState');
364
+ return;
365
+ }
358
366
  searchResults = await search({
359
367
  filter,
360
368
  pagination,