fix: hide sva decision before column

This commit is contained in:
simon lehericey 2024-11-13 10:44:51 +01:00
parent 0617f4c3e8
commit d2c3c91fa7
No known key found for this signature in database
GPG key ID: CDE670D827C7B3C5

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