Popraw nazwy kluczy w danych dotyczących godzin otwarcia sklepów

This commit is contained in:
2026-01-27 10:39:29 +01:00
parent 5e66bc83b6
commit b4cd32e7cb
2 changed files with 2 additions and 2 deletions

View File

@@ -50,7 +50,7 @@ foreach ($places as $place) {
$shopItem['address'] = $shop['address'];
}
if (!empty($shop['openHours'])) {
if (!empty($shop['open_hours'])) {
$shopItem['openHours'] = $shop['open_hours'];
}

View File

@@ -184,7 +184,7 @@
clone.querySelector('.shopAddress').textContent = `${place.name} - ${
shop.address || ''
}`
clone.querySelector('.shopHours').textContent = shop.open_hours || '—'
clone.querySelector('.shopHours').textContent = shop.openHours || '—'
// GOOGLE LINK
const googleLink = clone.querySelector('.googleLink')