Country and region maps name their profile (country-map), as every other map does

<doxa-country-map> 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).
This commit is contained in:
doxa-maps 2026-09-29 03:11:39 +00:00
parent aeebc6f0d4
commit 0cb173ddcf
2 changed files with 2 additions and 0 deletions

View file

@ -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,

View file

@ -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,