Chore: remove obsolete logging statements

This commit is contained in:
Pieter Vander Vennet 2025-03-09 23:22:00 +01:00
parent c68bce2421
commit f706fa7b5e

View file

@ -177,7 +177,6 @@ export default class FeatureReviews {
testmode?: Store<boolean>, testmode?: Store<boolean>,
loadingAllowed?: UIEventSource<boolean | null> loadingAllowed?: UIEventSource<boolean | null>
) { ) {
console.trace(">>> Creating FeatureReviews", options)
this.loadingAllowed = loadingAllowed this.loadingAllowed = loadingAllowed
const centerLonLat = GeoOperations.centerpointCoordinates(feature) const centerLonLat = GeoOperations.centerpointCoordinates(feature)
;[this._lon, this._lat] = centerLonLat ;[this._lon, this._lat] = centerLonLat
@ -217,12 +216,10 @@ export default class FeatureReviews {
} }
this._name = tagsSource.map((tags) => { this._name = tagsSource.map((tags) => {
const defaultName = tags[nameKey] const defaultName = tags[nameKey]
console.trace(">>>", options, defaultName)
if (defaultName && defaultName !== "") { if (defaultName && defaultName !== "") {
console.log("Using default name:", defaultName, "fallback:", options.fallbackName) console.log("Using default name:", defaultName, "fallback:", options.fallbackName)
return defaultName return defaultName
} }
console.trace("Using fallback name", options?.fallbackName, options)
return options?.fallbackName return options?.fallbackName
}) })