diff --git a/configs/ecospheres/config.yaml b/configs/ecospheres/config.yaml index cc5c00174..4a631203e 100644 --- a/configs/ecospheres/config.yaml +++ b/configs/ecospheres/config.yaml @@ -264,3 +264,27 @@ indicators: name: Atténuation - id: biodiversite name: Biodiversité + - name: Levier + id: levier + color: green-archipel + values: + - id: gestion-forets + name: Gestion des forêts et produits bois + - id: fertilisation + name: Changements de pratiques de fertilisation azotée + - id: elevage + name: Elevage durable + - id: haies + name: Gestion des haies + - name: Secteur + id: secteur + color: purple-glycine + values: + - id: agriculture + name: Agriculture, Forêts et Sols + - id: alimentation + name: Alimentation + - id: batiment + name: Bâtiment + - id: dechets + name: Déchets diff --git a/src/custom/ecospheres/components/indicators/IndicatorSearch.vue b/src/custom/ecospheres/components/indicators/IndicatorSearch.vue index 5fdaeb243..b937218b3 100644 --- a/src/custom/ecospheres/components/indicators/IndicatorSearch.vue +++ b/src/custom/ecospheres/components/indicators/IndicatorSearch.vue @@ -76,6 +76,24 @@ watchEffect(() => { @update:model-value="(value) => switchFilter('enjeu', value)" /> +
+ +
+
+ +
=> { }) } +// FIXME: some tag have multiple values (e.g. enjeux), use useTags with a filter instead export const useTag = ( indicator: Indicator | undefined, type: string