feat(conditional): remove conditional feature flag
This commit is contained in:
parent
472d075634
commit
7de52d582a
3 changed files with 2 additions and 9 deletions
|
@ -120,10 +120,6 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent
|
|||
end
|
||||
|
||||
def conditional_enabled?
|
||||
if type_de_champ.private? || coordinate.child?
|
||||
false
|
||||
else
|
||||
procedure.feature_enabled?(:procedure_conditional)
|
||||
end
|
||||
!type_de_champ.private? && !coordinate.child?
|
||||
end
|
||||
end
|
||||
|
|
|
@ -25,8 +25,7 @@ features = [
|
|||
:expert_not_allowed_to_invite,
|
||||
:hide_instructeur_email,
|
||||
:procedure_revisions,
|
||||
:procedure_routage_api,
|
||||
:procedure_conditional
|
||||
:procedure_routage_api
|
||||
]
|
||||
|
||||
def database_exists?
|
||||
|
|
|
@ -17,8 +17,6 @@ describe 'As an administrateur I can edit types de champ condition', js: true do
|
|||
|
||||
before do
|
||||
login_as administrateur.user, scope: :user
|
||||
# TODO: remove along with feature flipping
|
||||
Flipper.enable(:procedure_conditional, procedure)
|
||||
visit champs_admin_procedure_path(procedure)
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue