From 3903593b90f64bc7d40b8ea6bf0417e23732066a Mon Sep 17 00:00:00 2001 From: mfo Date: Tue, 19 Nov 2024 10:20:18 +0100 Subject: [PATCH] fix(export): re-add missing geojson export --- .../export_dropdown_component.html.haml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/app/components/dossiers/export_dropdown_component/export_dropdown_component.html.haml b/app/components/dossiers/export_dropdown_component/export_dropdown_component.html.haml index e9c41e5be..cbde910f2 100644 --- a/app/components/dossiers/export_dropdown_component/export_dropdown_component.html.haml +++ b/app/components/dossiers/export_dropdown_component/export_dropdown_component.html.haml @@ -38,6 +38,12 @@ = f.label :export_format_zip do Fichier zip %span.fr-hint-text ne contient pas l'horodatage ni le journal de log + - if allowed_format?({format: :json}) + .fr-fieldset__element + .fr-radio-group + = f.radio_button :export_format, 'json' + = f.label :export_format_json do + Fichier geojson .fr-fieldset__element %ul.fr-btns-group.fr-btns-group--sm.fr-btns-group--inline