diff --git a/frontend/osmybiz/src/util/osmApiUtils.js b/frontend/osmybiz/src/util/osmApiUtils.js index a1ac61eee79a2651f8e957e584079699c30a2e52..f4269cc4afc9c131d8355764ddfda6caf3668a6e 100644 --- a/frontend/osmybiz/src/util/osmApiUtils.js +++ b/frontend/osmybiz/src/util/osmApiUtils.js @@ -129,7 +129,9 @@ function createDetailTags(businessPOI) { if (businessPOI.details.opening_hours.length !== 0) { text += ``; } - if (businessPOI.opening_url.length !== 0) { + // TODO: Find out why `opening_url` has to be treated differently + // than the other properties of `businessPOI.details`. + if (businessPOI.details.opening_url) { // if opening_url is neither undefined nor empty text += ``; } if (businessPOI.details.phone.length !== 0) {