Merge pull request #541 from sgmap/dont_know_why_it_happens
DossierShow: fix unattended bug on champs_private
This commit is contained in:
commit
0dbccd3af9
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue