refactor(type_de_champ): cleanup type predicate methods

This commit is contained in:
Paul Chavard 2024-11-07 12:38:03 +01:00
parent e84071a14a
commit dc6bad40fe
No known key found for this signature in database
19 changed files with 50 additions and 161 deletions

View file

@ -84,6 +84,6 @@ class EditableChamp::EditableChampComponent < ApplicationComponent
end
def autosave_enabled?
!@champ.carte? && !@champ.block? && @champ.fillable?
!@champ.carte? && !@champ.repetition? && @champ.fillable?
end
end