fix(type_de_champ): feature flag support
This commit is contained in:
parent
d2f1af0830
commit
52545dc86c
1 changed files with 2 additions and 2 deletions
|
@ -93,8 +93,8 @@ class TypesDeChampEditor::ChampComponent < ApplicationComponent
|
|||
end
|
||||
|
||||
def filter_featured_type_champ(type_champ)
|
||||
feature_name = TypeDeChamp::FEATURE_FLAGS[type_champ]
|
||||
feature_name.blank? || feature_enabled?(feature_name)
|
||||
feature_name = TypeDeChamp::FEATURE_FLAGS[type_champ.to_sym]
|
||||
feature_name.blank? || procedure.feature_enabled?(feature_name)
|
||||
end
|
||||
|
||||
def filter_type_champ(type_champ)
|
||||
|
|
Loading…
Add table
Reference in a new issue