Commit 38415237 authored by Raphael Das Gupta's avatar Raphael Das Gupta

fix access of opening_url

It's a property of businessPOI.details, not directly of businessPOI.

Part of the fix of #239
parent 34385d59
......@@ -129,7 +129,7 @@ function createDetailTags(businessPOI) {
if (businessPOI.details.opening_hours.length !== 0) {
text += `<tag k="opening_hours" v="${businessPOI.details.opening_hours}"/>`;
}
if (businessPOI.opening_url.length !== 0) {
if (businessPOI.details.opening_url.length !== 0) {
text += `<tag k="opening_hours:url" v="${businessPOI.details.opening_url}"/>`;
}
if (businessPOI.details.phone.length !== 0) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment