From 52f1d8677262da1c41135ad1d99cad6193d9babe Mon Sep 17 00:00:00 2001 From: pietervdvn Date: Thu, 7 Jul 2022 22:35:28 +0200 Subject: [PATCH] Small fixes to make MC build on Mac --- Logic/SimpleMetaTagger.ts | 5 +++-- UI/OpeningHours/OpeningHours.ts | 5 +++-- 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/Logic/SimpleMetaTagger.ts b/Logic/SimpleMetaTagger.ts index fa2501bd1..e1383afb7 100644 --- a/Logic/SimpleMetaTagger.ts +++ b/Logic/SimpleMetaTagger.ts @@ -314,9 +314,10 @@ export default class SimpleMetaTaggers { lat: lat, lon: lon, address: { - country_code: tags._country.toLowerCase() + country_code: tags._country.toLowerCase(), + state: undefined } - }, {tag_key: "opening_hours"}); + }, {tag_key: "opening_hours"}); // Recalculate! return oh.getState() ? "yes" : "no"; diff --git a/UI/OpeningHours/OpeningHours.ts b/UI/OpeningHours/OpeningHours.ts index a37e831d8..57e4683e6 100644 --- a/UI/OpeningHours/OpeningHours.ts +++ b/UI/OpeningHours/OpeningHours.ts @@ -477,9 +477,10 @@ export class OH { lat: tags._lat, lon: tags._lon, address: { - country_code: tags._country.toLowerCase() + country_code: tags._country.toLowerCase(), + state: undefined }, - }, {tag_key: "opening_hours"}); + }, {tag_key: "opening_hours"}); } /*