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:
parent
d8cbaee864
commit
21e82f3b47
2 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Reference in a new issue