Merge pull request #11040 from demarches-simplifiees/fix_sva_dossiers_tableau

ETQ Instructeur: cache la colonne de filtrage décision avant du SVA/SVR
This commit is contained in:
LeSim 2024-11-13 13:37:54 +00:00 committed by GitHub
commit 02b71d0c46
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -37,7 +37,7 @@ class ProcedurePresentation < ApplicationRecord
*displayed_columns,
procedure.dossier_state_column
]
columns.concat(procedure.sva_svr_columns) if procedure.sva_svr_enabled?
columns.concat(procedure.sva_svr_columns.filter(&:displayable)) if procedure.sva_svr_enabled?
columns
end
end