Skip to content

Commit 32305f2

Browse files
authored
fix: allow nested: false (#3763)
1 parent b45c966 commit 32305f2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: lib/avo/fields/concerns/nested.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module Nested
1414
end
1515

1616
def initialize_nested(**args)
17-
if args[:nested].nil?
17+
if args[:nested].blank?
1818
@nested = {}
1919
return
2020
end

0 commit comments

Comments
 (0)