corrections page contacts

This commit is contained in:
2025-01-23 16:47:54 +01:00
parent 42fb439e3d
commit f2d48ab583
2 changed files with 12 additions and 8 deletions

View File

@@ -70,7 +70,7 @@ export const useContentStore = defineStore('content', {
if (this.contentType !== 'gouvernance' && this.contentType !== 'partenaire') {
if (this.contentType !== 'gouvernance' && this.contentType !== 'partenaire') {
// pageTitle
for (let tag of rawContent.attributes.metatag) {
if (tag.tag === "meta") {
@@ -177,6 +177,7 @@ export const useContentStore = defineStore('content', {
alt: partie.relationships.field_diaporama.data[index].meta.alt,
});
}
}
break;
case 'entretien':
@@ -235,7 +236,7 @@ export const useContentStore = defineStore('content', {
`${introContent.attributes.field_titre} ${introContent.attributes.metatag.find(tag => tag.tag === "meta")?.attributes.content}`;
this.content.contentTitle = introContent.attributes.field_titre;
this.content.intro = introContent.attributes.field_intro.value;
this.content.intro = introContent.attributes.field_intro?.value;
const multiItemPageArray = [];