abmp-npm 1.1.34 → 1.1.35
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 +5 -3
package/package.json
CHANGED
package/pages/Home.js
CHANGED
|
@@ -424,9 +424,11 @@ const homePageOnReady = async ({
|
|
|
424
424
|
console.log('filter inside nearByHandler', filter);
|
|
425
425
|
console.log('success inside nearByHandler', success);
|
|
426
426
|
const renderingEnv = await rendering.env();
|
|
427
|
-
if (!success
|
|
428
|
-
logMessage(`
|
|
429
|
-
|
|
427
|
+
if (!success) {
|
|
428
|
+
logMessage(`nearByHandler Failed to get user location in ${renderingEnv}`);
|
|
429
|
+
if (renderingEnv !== 'backend') {
|
|
430
|
+
multiStateBoxSelector.changeState('nearByState');
|
|
431
|
+
}
|
|
430
432
|
_$w('#nearBy').checked = false;
|
|
431
433
|
updateFiltersState();
|
|
432
434
|
// 4. Re-enable nearby input
|