renaming block noAnswers to partnersOtherServices
This commit is contained in:
parent
cd570b2768
commit
7cf13a29e4
|
|
@ -63,14 +63,14 @@ export default function singleConseil() {
|
|||
const vocabulaireSummaryBlock = document.querySelector('.homegrade-blocks-vocabulaire-summary');
|
||||
const plusLoinBlock = document.querySelector('#aller-plus-loin');
|
||||
const helpHomegradeBlock = document.querySelector('#homegrade-vous-aide');
|
||||
const noAnswers = document.querySelector('#pas-de-reponses');
|
||||
const partnersOtherServices = document.querySelector('#partenaires-autres-services');
|
||||
|
||||
let allBlocks = [];
|
||||
|
||||
if (vocabulaireSummaryBlock) allBlocks.push(vocabulaireSummaryBlock);
|
||||
if (plusLoinBlock) allBlocks.push(plusLoinBlock);
|
||||
if (helpHomegradeBlock) allBlocks.push(helpHomegradeBlock);
|
||||
if (noAnswers) allBlocks.push(noAnswers);
|
||||
if (partnersOtherServices) allBlocks.push(partnersOtherServices);
|
||||
if (questionsContainerBlocks.length > 0)
|
||||
allBlocks = [...allBlocks, ...questionsContainerBlocks];
|
||||
if (chapitresThematiques.length > 0) allBlocks = [...allBlocks, ...chapitresThematiques];
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user