refactor(type_de_champ): cleanup type predicate methods
This commit is contained in:
parent
e84071a14a
commit
dc6bad40fe
19 changed files with 50 additions and 161 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue