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