Skip to content

Commit

Permalink
Merge pull request #36 from helsingborg-stad/fix/corrected-place-sche…
Browse files Browse the repository at this point in the history
…ma-data

fix: correct key for schema data place
  • Loading branch information
NiclasNorin authored Apr 26, 2024
2 parents 7164351 + 522821a commit db51f7e
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions source/php/Module/views/partials/collection.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
'containerAware' => true,
'bordered' => true,
'attributeList' => [
'data-js-map-location' => !empty($place->location['pin']) ? json_encode($place->location['pin']) : "",
]
'data-js-map-location' => !empty($place->schemaData['place']['pin']) ? json_encode($place->schemaData['place']['pin']) : "",
])
@if (!empty($place->callToActionItems['floating']))
@slot('floating')
Expand Down

0 comments on commit db51f7e

Please sign in to comment.