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.
- package/package.json +1 -1
- package/pages/Home.js +8 -0
package/package.json
CHANGED
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,
|