Fix unnecessary browser console warnings

This commit is contained in:
2026-05-13 12:27:16 +02:00
parent bcfa81494e
commit 6329ad986d
3 changed files with 3 additions and 2 deletions

View File

@@ -3,7 +3,7 @@ import { action } from '@ember/object';
import { tracked } from '@glimmer/tracking';
import { on } from '@ember/modifier';
import { fn } from '@ember/helper';
import { inject as service } from '@ember/service';
import { service } from '@ember/service';
import { modifier } from 'ember-modifier';
import { task } from 'ember-concurrency';
import { EventFactory } from 'applesauce-factory';

View File

@@ -23,7 +23,7 @@ export function getGeohashPrefixesInBbox(bbox) {
// Safety check to avoid infinite loops or massive arrays if bbox is weird
if (Math.abs(maxLat - minLat) > 20 || Math.abs(maxLon - minLon) > 20) {
console.warn(
console.debug(
'BBox too large for 4-char geohash scanning, aborting fine scan.'
);
return [];

View File

@@ -38,6 +38,7 @@ class MockOsmService extends Service {
}
class MockStorageService extends Service {
initialSyncDone = true;
savedPlaces = [];
findPlaceById() {
return null;