From 21e82f3b47e6e84fcfe67a2e8cc486936a321d98 Mon Sep 17 00:00:00 2001 From: doxa-maps Date: Tue, 29 Sep 2026 03:11:39 +0000 Subject: [PATCH] Country and region maps name their profile (country-map), as every other map does reads its profile from profile-config, like the manifest's own snippet ({"profile":"country-map",...}) and like this site's other maps (profile: 'doxa-simple-map'). Without it the element drew nothing but 'Profile "" not found' on every country page (rega, 1440 and 390, en and ar). --- app/components/public/CountryDetail.vue | 1 + app/components/public/RegionDetail.vue | 1 + 2 files changed, 2 insertions(+) diff --git a/app/components/public/CountryDetail.vue b/app/components/public/CountryDetail.vue index ecdb9233..c9829677 100644 --- a/app/components/public/CountryDetail.vue +++ b/app/components/public/CountryDetail.vue @@ -25,6 +25,7 @@ const regionLabel = computed(() => props.country.region.label || t('Other')) // DoxaMapSlot, like every map. const mapPrayBaseUrl = (useRuntimeConfig().public.prayBaseUrl as string) || 'https://pray.doxa.life' const countryMapConfig = computed(() => JSON.stringify({ + profile: 'country-map', prayBaseUrl: mapPrayBaseUrl, countryCodes: [props.country.code], center: props.country.center, diff --git a/app/components/public/RegionDetail.vue b/app/components/public/RegionDetail.vue index 600636d2..ff13464d 100644 --- a/app/components/public/RegionDetail.vue +++ b/app/components/public/RegionDetail.vue @@ -26,6 +26,7 @@ const USE_LEGACY_COUNTRY_MAP = false // DoxaMapSlot, like every map. const mapPrayBaseUrl = (useRuntimeConfig().public.prayBaseUrl as string) || 'https://pray.doxa.life' const regionMapConfig = computed(() => JSON.stringify({ + profile: 'country-map', prayBaseUrl: mapPrayBaseUrl, countryCodes: countryCodes.value, center: props.region.center,