Popraw nazwy kluczy w danych dotyczących godzin otwarcia sklepów
This commit is contained in:
@@ -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'];
|
||||
}
|
||||
|
||||
|
||||
@@ -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')
|
||||
|
||||
Reference in New Issue
Block a user