feat(sva): under feature flag

This commit is contained in:
Colin Darie 2023-06-22 09:50:13 +02:00
parent 07f10070e9
commit e74f4db8c8
No known key found for this signature in database
GPG key ID: 4FB865FDBCA4BCC4
2 changed files with 3 additions and 2 deletions

View file

@ -63,6 +63,6 @@
= render Procedure::Card::AnnotationsComponent.new(procedure: @procedure)
= render Procedure::Card::APIEntrepriseComponent.new(procedure: @procedure)
= render Procedure::Card::APIParticulierComponent.new(procedure: @procedure)
= render Procedure::Card::SVASVRComponent.new(procedure: @procedure)
= render Procedure::Card::SVASVRComponent.new(procedure: @procedure) if @procedure.sva_svr_enabled? || @procedure.feature_enabled?(:sva)
= render Procedure::Card::MonAvisComponent.new(procedure: @procedure)
= render Procedure::Card::DossierSubmittedMessageComponent.new(procedure: @procedure)

View file

@ -19,7 +19,8 @@ features = [
:procedure_routage_api,
:groupe_instructeur_api_hack,
:rerouting,
:cojo_type_de_champ
:cojo_type_de_champ,
:sva
]
def database_exists?