From 9c5b68ab8559b917b0e297ccacda1a1498218e9f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment?= Date: Thu, 26 Dec 2024 15:00:09 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20set=20`logement=20.=20chauffage?= =?UTF-8?q?=20.=20bois=20.=20type`=20as=20priority?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit I have no explanation why missing variable score for `logement . chauffage . bois . type` is so low. --- src/publicodes-state/providers/formProvider/useQuestions.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/publicodes-state/providers/formProvider/useQuestions.ts b/src/publicodes-state/providers/formProvider/useQuestions.ts index 80a90e060..0c1b3a626 100644 --- a/src/publicodes-state/providers/formProvider/useQuestions.ts +++ b/src/publicodes-state/providers/formProvider/useQuestions.ts @@ -33,7 +33,10 @@ export default function useQuestions({ rawMissingVariables, }: Props) { // We use the DottedName type from nosgestesclimat to make sure the build will break when using rules that are not in the model. - const priorityQuestions: DottedName[] = ['alimentation . plats'] + const priorityQuestions: DottedName[] = [ + 'alimentation . plats', + 'logement . chauffage . bois . type', + ] const nonPriorityQuestions: DottedName[] = [ 'logement . électricité . réseau . consommation',