Merge pull request #541 from sgmap/dont_know_why_it_happens

DossierShow: fix unattended bug on champs_private
This commit is contained in:
gregoirenovel 2017-07-04 16:46:03 +02:00 committed by GitHub
commit 0dbccd3af9

View file

@ -57,7 +57,7 @@
= render partial: '/users/carte/map', locals: { dossier: @facade.dossier }
= render partial: 'users/carte/init_carto', locals: { dossier: @facade.dossier }
- if @current_gestionnaire && gestionnaire_signed_in? && current_gestionnaire.assigned_on_procedure?(@facade.dossier.procedure_id) && @champs_private.count > 0
- if @current_gestionnaire && gestionnaire_signed_in? && current_gestionnaire.assigned_on_procedure?(@facade.dossier.procedure_id) && @champs_private.present?
.default-data-block.default_visible
.row.show-block#private-fields
.header